Page 1 of 1

Help for a beginner: "this statement is incomplete"

PostPosted: Sun Aug 07, 2011 4:06 pm
by swajbaue
Hello everyone,

I'm currently using Dynare for solving a search and matching model. In a simple case this works, but now I would like to try an extended model, but unfortunately if I type in the model two times and try to run it, it doesn't work.
I got the message:

??? Error: File: C:\Programme\MATLAB7\work\twosector.m Line: 205 Column: 1
This statement is incomplete.

Error in ==> dynare at 132
evalin('base',fname) ;

I don't have a clue what is missing, therefore I need some help. If I open the twosector.m file, there is no line 205, because it ends at line 204.

I attached the mod file.
Thanks for your help:)

A.B.

Re: Help for a beginner: "this statement is incomplete"

PostPosted: Mon Aug 08, 2011 8:02 pm
by MichelJuillard
I'm unable to replicate the problem. Please, post twosector.m as well.

On the other hand, I found that two parameters were missing a value and that creates a problem.

Best

Michel

Re: Help for a beginner: "this statement is incomplete"

PostPosted: Sat Aug 13, 2011 7:02 pm
by olayenidynare
Hi
Why would you want to type model :oops: twice! I haven't seen it done in DYNARE before.

I don't understand you

Olayeni

Re: Help for a beginner: "this statement is incomplete"

PostPosted: Sun Aug 14, 2011 8:17 pm
by swajbaue
Thank you, the problem is solved, it was due to the missing parameter values....my fault!
I just typed it twice to have a basic setup in which I can combine the equations through some rules and then change things by just changing parameter values :)