Page 1 of 1

error: unexpected matlab function

PostPosted: Tue Sep 30, 2014 10:19 am
by cfg_stellies
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!

Re: error: unexpected matlab function

PostPosted: Tue Sep 30, 2014 11:00 am
by hanz
The MOD filename begins with a number. Rename so that it begins with a letter (e.g. a30sept.mod) and it'll work fine.

Re: error: unexpected matlab function

PostPosted: Tue Sep 30, 2014 11:10 am
by cfg_stellies
Thanks hanz! works perfectly now :P