Trouble with <filename>.m file and a steady state vari

Dear all

After running my mod-file (a stochastic model in linearised form), Dynare writes one of my steady state variables incorrectly in the corresponding .m.
In my example, my text “PHI = 0;” of the mod-file’s initval section is written as “x=0;” in the m-file, rather than the expected “ys_(15)=0”.
Consequently, I get the following error message in the Matlab Command Window :
??? Error: File: f:<filename>.m Line: 229 Column: 2
Missing operator, comma, or semicolon.

Error in ==> c:\dynare_v3\matlab\dynare.m
On line 26 ==> evalin(‘base’,fname) ;

Is anybody familiar with this kind of problem?

Thanks for your answers in advance.


From the error, I get the impression that you saved the file as .mod

But in the documentation, is just a place holder for whatever filename you are using. You should used a proper filename without < or >