Strange error referring to "----" in .m-file

Hello everyone,

I have compiled a simple base line DSGE model, since dynare was unable to find a steady state for my medium scale DSGE model. So I started with a smaller version.
However, in both cases I am experiencing the error that:

Error: File: NKBase.m Line: 181 Column: 73
Expression or statement is incomplete or incorrect.

Error in dynare (line 235)
evalin(‘base’,fname) ;

When I open up my NKBase.m, it refers to a row completely filled with “-------”.
For replication purposes, I have attached a .mod file.

What am I doing wrong?

Kind regards


NKBase.mod (3.7 KB)

Hi MattEsch,

You commented out the first lines of the file incorrectly. The attached version runs correctly.
NKBase.mod (3.7 KB)

Hi Cmarch,

thanks so much for the quick response. How stupid and I was checking everything apart from the header.