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

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

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

Postby MEC » Tue Sep 25, 2007 12:50 pm

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
MEC
 
Posts: 1
Joined: Tue May 22, 2007 6:43 pm

Postby MichelJuillard » Fri Oct 05, 2007 6:50 pm

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
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 10 guests