Loading previous mode in Dynare 6

Hello everyone,

I’m sequentially loading a previous mode for estimation, which in previous versions of Dynare is pretty straightforward, such as

estimation(datafile=mod_filename, mode_file = mod_filename_mode)

However, this no longer works and I get the error message
‘mod_filename_mode’ is not found in the current folder or on the MATLAB path, but exists in: …

I read the manual and I can see that the location of the mode file is now in a subfolder, but I still don’t understand how I can load it. I’m sure it’s a trivial thing but I’ve only been able to solve this by copying the mode file and pasting it on the main folder, which I’m sure is not the right approach.
Any help would be greatly appreciated.

You need to provide the full path. For the fs2000.mod, it’s

estimation(mode_file='fs2000/Output/fs2000_mode.mat')

Thank you very much for this, which is incredibly helpful.