by leonard007 » Fri Jul 31, 2015 11:43 am
Dear Professor Pfeifer,
Thank you for your advise.
My codes in dynare is the (lucas3.mod). In order to calculate the steady state (to put in dynare as initials), I wrote some coeds in Octave, so that I can put the values of (Omegabar , Qbar) in my dynare code and solve it. It is my question : How can I add the codes of steady state to my dynare code so that just by running dynare , the values of steady states directly return to dynare form the .m file of steady state. I read the manual and some examples, therefore I put those code in a .m file as a function (lucas4_steady_state_helper.m) and asked dynare to calculate the function in the section "steady_state_model;", but it does not work.
In the other words, I would like to know how I can ask dynare to go to other files, run them and put their result in its own codes!
the best,
Loe
- Attachments
-
- lucas4_steady_state_helper.m
- (1.47 KiB) Downloaded 141 times
-
- Lucas4.mod
- (2.07 KiB) Downloaded 164 times
-
- lucas3.mod
- (3.05 KiB) Downloaded 157 times