Page 1 of 1

Writing a MATLAB steadystate file

PostPosted: Tue Jun 19, 2012 2:44 pm
by akeinsley
Hello,

I'm still a bit new to Dynare (and MATLAB in general) and was wondering if there was a good source on writing an external steady state file. I've found sample files, but I don't know what most of the code means, especially at the beginning. I'd just like to become more fluent and efficient with my code.

Thanks!

Re: Writing a MATLAB steadystate file

PostPosted: Sat Jun 30, 2012 12:51 pm
by jpfeifer
The parts at the beginning and the end of the file are just there for reading out and passing back the values of the parameters. In particular, the first part reads the parameters from the parameter vector and stores them into variables with the parameters names so they can be accessed using their name.
See also my post here http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=1834. You just have to enter your computations where the code says
%%%% Model equations to be entered here