syntax error, unexpected NAME, expecting EQUAL

As Dynare 4 is now the main version, this forum is now closed. Please, post
on the Dynare Help forum
Forum rules
As Dynare 4 is the current Dynare version, there forum is now close. Post new question in the Dynare Help Forum.

syntax error, unexpected NAME, expecting EQUAL

Postby monad » Fri Mar 14, 2008 7:33 pm

Dear All,

I just switched from Dynare 3.065 to 4. When I run my mod file (with which I did not have problems in the 3.065 version), I get a following warning:

??? Error using ==> dynare at 73
Starting Dynare ...
Parsing your model file ...
ERROR: closed1exp.mod:92.0-4: syntax error, unexpected NAME, expecting EQUAL

Does anyone have an idea what it is about?

Thanks.
Monika
monad
 
Posts: 8
Joined: Sat Aug 11, 2007 7:54 pm

Postby MichelJuillard » Fri Mar 14, 2008 8:00 pm

Please, post or send the *.mod file

michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Postby MichelJuillard » Fri Mar 14, 2008 8:19 pm

Dynare version 4 doesn't authorize statements without ; at the end
In order to display the value of 'sigmat', you can't write simply
Code: Select all
sigmat

you must write
Code: Select all
disp(sigmat);
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Postby monad » Fri Mar 14, 2008 8:44 pm

Thanks, Michel,

Now, I get a new error:

??? Error using ==> obsoleteHMS at 7
Function SEC2HMS is obsolete.


Error in ==> sec2hms at 12
obsoleteHMS(mfilename,'')

Error in ==> closed1exp at 437
disp(['Total computing time : ' sec2hms(round(toc)) ]);

Error in ==> dynare at 79
evalin('base',fname) ;

I am using Matlab 2007b

Perhaps, this would be of interest to you as my understanding is that it is related to mapping toolbox.


Regards,
Monika
Monika
monad
 
Posts: 8
Joined: Sat Aug 11, 2007 7:54 pm

Postby MichelJuillard » Fri Mar 14, 2008 9:07 pm

Thanks Monika. This is a name conflict with one of Dynare functions. We will fix that

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare version 4

Who is online

Users browsing this forum: No registered users and 1 guest