source of _dynamic.m

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.

source of _dynamic.m

Postby xuyongdeng » Thu Nov 26, 2015 4:24 pm

Hi jpfeifer,

I want to make use the _dynamic.m file to somewhere else. So I need to change the _dynamic.m file a little bit to satisfy the requirement there. for example, to change the output to be "residuals, lhs and rhs". I was just wondering how do you get _dynamic.m file from .mod file. Can I access the source code and make the changes?

Thanks again for your help.

Regards
Daniel
xuyongdeng
 
Posts: 13
Joined: Mon Aug 10, 2015 9:08 pm

Re: source of _dynamic.m

Postby HoutanBastani » Fri Nov 27, 2015 11:59 am

Yes. You will need to modify the
Code: Select all
writeDynamicMFile
function in https://github.com/DynareTeam/dynare/blob/master/preprocessor/DynamicModel.cc and recompile the preprocessor following the instructions for your OS, which can be found here: https://github.com/DynareTeam/dynare/blob/master/README.md
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests