Loading .mat files in Dynare 4.0.3

Hi everyone,
I am trying to run a .mod file inside a loop (controlled from an .m file), changing some of the parameters during each iteration. In version 3 of Dynare, I used to save parameter values in a param.mat file, and then use a “load param.mat” command inside the .mod file instead of manually specifying parameter values.
However, this method is not working in Dynare 4.0.3; I get the statement that
"STEADY: numerical initial values incompatible with the following equations" and the list of all the model equations.
Obviously the “load” command isn’t working. Is there a new way to load parameter values?
Thank you!

Hi, it’s not possible to use this trick with dynare v4. You should read this thread

Best, Stéphane.

Thank you very much for the quick response. The file is now working.