Error:Unexpected MATLAB operator

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.

Error:Unexpected MATLAB operator

Postby gregor.marc7 » Mon Jan 12, 2015 2:22 pm

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.
Attachments
Monetary13.mod
(3.02 KiB) Downloaded 142 times
gregor.marc7
 
Posts: 3
Joined: Mon Jan 12, 2015 2:14 pm

Re: Error:Unexpected MATLAB operator

Postby HoutanBastani » Mon Jan 12, 2015 4:50 pm

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 '/*'
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Error:Unexpected MATLAB operator

Postby gregor.marc7 » Mon Jan 12, 2015 6:45 pm

Tnx. Problem solved :)
gregor.marc7
 
Posts: 3
Joined: Mon Jan 12, 2015 2:14 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 10 guests