Page 1 of 1

"Weird" error when running .mod file

PostPosted: Sun Jun 17, 2012 11:11 am
by Sluppermand
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!

Re: "Weird" error when running .mod file

PostPosted: Sun Jun 17, 2012 2:37 pm
by SébastienVillemot
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.