Help for a beginner: "this statement is incomplete"

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.
twosector.mod (1.41 KB)

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

Hi
Why would you want to type model :blush: twice! I haven’t seen it done in DYNARE before.

I don’t understand you

Olayeni

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 :slight_smile: