Parameters values

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.

Parameters values

Postby Ellen70 » Sat Feb 18, 2012 9:46 pm

Hi, is there a way to have Dynare take parameters values from Matlab (workspace, .mat files)?

Thank you,
Ellen
Ellen70
 
Posts: 2
Joined: Sat Feb 18, 2012 9:42 pm

Re: Parameters values

Postby jpfeifer » Sat Feb 18, 2012 10:00 pm

Yes, before the model block you can load a mat-file containing parameter values (load file_xyz.mat parameter_matrix;) and then assign values to a parameter (e.g. alfa=parameter_matrix(1);).
------------
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

Re: Parameters values

Postby Ellen70 » Tue Feb 21, 2012 3:47 am

Thank you very much!!!!
Ellen70
 
Posts: 2
Joined: Sat Feb 18, 2012 9:42 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests