Question about M_

Hi everyone.

I would like to learn about the difference between M_.fname and M_.dname, they seem to be the same, but I am wondering if there is some deeper explanation regarding not they being one variable.

Thanks.
S.

M_.fname is the name of the mod-file, which is used in naming many of the Dynare output files. M_.dname is the directory name that Dynare uses to store the results. You can set it with the dirname option of various commands, which allows you to have several instances of e.g. the estimation command in the same mod-file without them overwriting previous results.