"Weird" error when running .mod file

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.

"Weird" error when running .mod file

Postby Sluppermand » Sun Jun 17, 2012 11:11 am

Hello,

When I try to run my mod file, I get the following message:

Starting Dynare (version 4.2.5).
Starting preprocessing of the model file ...
Found 24 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
- order 2
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.

Error: File: Anders_test.m Line: 197 Column: 1
Unexpected MATLAB operator.

Error in dynare (line 120)
evalin('base',fname) ;

The matlab file line 197 column 1 is,
"& 1.b List of variables"

But this file is generated automatically, right? What do I do about that?

Any help would be greatly appreciated! Thanks!
Sluppermand
 
Posts: 1
Joined: Sun Jun 17, 2012 10:00 am

Re: "Weird" error when running .mod file

Postby SébastienVillemot » Sun Jun 17, 2012 2:37 pm

This file is indeed generated, but it can contain lines that are just copied from your MOD file.

Maybe you forgot to comment some lines in your MOD file?

If in doubt, please post it.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 4 guests