Page 1 of 1

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

PostPosted: Tue Sep 25, 2007 12:50 pm
by MEC
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 <filename>.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.

Chris

PostPosted: Fri Oct 05, 2007 6:50 pm
by MichelJuillard
From the error, I get the impression that you saved the file as <filename>.mod

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

Best

michel