error: unexpected matlab function

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 function

Postby cfg_stellies » Tue Sep 30, 2014 10:19 am

Hi everyone,

I'm trying to run a two-country model with international lending as in Iacoviello & Minetti (2006). After adding in my capital accumulation equations I keep getting the following error:

Error using dynare (line 174)
Error: Unexpected MATLAB expression.

Attached is my .mod file. Any help/tips would be greatly appreciated as I'm still a dynare novice.

Thanks!
Attachments
30sept.mod
(8.86 KiB) Downloaded 86 times
cfg_stellies
 
Posts: 4
Joined: Sat Sep 27, 2014 12:24 pm

Re: error: unexpected matlab function

Postby hanz » Tue Sep 30, 2014 11:00 am

The MOD filename begins with a number. Rename so that it begins with a letter (e.g. a30sept.mod) and it'll work fine.
hanz
 
Posts: 4
Joined: Tue Sep 30, 2014 7:36 am

Re: error: unexpected matlab function

Postby cfg_stellies » Tue Sep 30, 2014 11:10 am

Thanks hanz! works perfectly now :P
cfg_stellies
 
Posts: 4
Joined: Sat Sep 27, 2014 12:24 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests