Help for a beginner: "this statement is incomplete"

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.

Help for a beginner: "this statement is incomplete"

Postby swajbaue » Sun Aug 07, 2011 4:06 pm

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.
Attachments
twosector.mod
(1.41 KiB) Downloaded 153 times
swajbaue
 
Posts: 2
Joined: Sun Aug 07, 2011 3:48 pm

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

Postby MichelJuillard » Mon Aug 08, 2011 8:02 pm

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
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

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

Postby olayenidynare » Sat Aug 13, 2011 7:02 pm

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
olayenidynare
 
Posts: 22
Joined: Sat Feb 21, 2009 3:17 pm

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

Postby swajbaue » Sun Aug 14, 2011 8:17 pm

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 :)
swajbaue
 
Posts: 2
Joined: Sun Aug 07, 2011 3:48 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests