Error:Unexpected MATLAB operator

Hello. I am new to the forum, and also a new user of a dynare program.
I set the model, A New Keynesian model with Calvo pricing with inflation indexation in log-linear form,but the matlab do not want to process.
It shows me:
Error: File: Monetary13.m Line: 255 Column: 1
Unexpected MATLAB operator.
Error in dynare (line 180)
evalin(‘base’,fname) ;

Please help.

Thank you.
Monetary13.mod (3.02 KB)

Please look at the error message. It says, “Error: File: Monetary13.m Line: 255 Column: 1.” So, opening Monetary13.m (which is output by the dynare preprocessor when it reads Monetary13.mod), and navigating to line 255, you see that there are a bunch of ‘=’ signs. Opening Monetary13.mod, we see that you are using one-line comments ‘//’ where you should be using multi-line comments ‘/*’

Tnx. Problem solved :slight_smile: