Question when creating variables

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.

Question when creating variables

Postby anniejerry » Sun Feb 22, 2015 3:39 am

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
anniejerry
 
Posts: 1
Joined: Sun Feb 22, 2015 3:27 am

Re: Question when creating variables

Postby jpfeifer » Mon Feb 23, 2015 2:11 pm

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.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 10 guests