Page 1 of 1

Question when creating variables

PostPosted: Sun Feb 22, 2015 3:39 am
by anniejerry
Hi, I am a new user of dynare, and my current version is 4.4.3, matlab is R2014a, and when I try to create new variables and write the code :
var y i k a c;
I got errors in my matlab as :

Error using var
Too many input arguments.

Could anyone help me with this problem? I knew matlab thought me using variance function, but I followed the guide book and I did not see why I got this error but the book said this was the correct way to do it?

Many thanks

Re: Question when creating variables

PostPosted: Mon Feb 23, 2015 2:11 pm
by jpfeifer
Please consult the manual on how to invoke Dynare. You seem to be trying to execute Dynare commands using Matlab. That won't work. You need to create a mod-file and then execute it using Dynare.