Writing a MATLAB steadystate file

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.

Writing a MATLAB steadystate file

Postby akeinsley » Tue Jun 19, 2012 2:44 pm

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!
akeinsley
 
Posts: 10
Joined: Tue Jun 19, 2012 2:38 pm

Re: Writing a MATLAB steadystate file

Postby jpfeifer » Sat Jun 30, 2012 12:51 pm

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
------------
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 4 guests