How xxx.m, xxx_dynamic.m,xxx_static.m files are related?

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.

How xxx.m, xxx_dynamic.m,xxx_static.m files are related?

Postby ahnulxy » Sat Jun 07, 2014 11:52 pm

When Dynare parsing the mod file successfully, it will create three files
Code: Select all
filename.m
filename_dynamic.m
filename_static.m

My equation is that how filename.m invoke the other two m files?
I run the filename.m to improve the performance of recursively running.

I have read the filename.m, I can not find the code which invoke the other two m files?
ahnulxy
 
Posts: 43
Joined: Thu May 10, 2012 7:24 am

Re: How xxx.m, xxx_dynamic.m,xxx_static.m files are related?

Postby ahnulxy » Sun Jun 08, 2014 12:16 am

Using debug model, I finally found the chain of invocation:
xxx.m ---> stoch_simul.m --> resol.m --> stochastic_solvers.m --> xxx_dynamic.m
ahnulxy
 
Posts: 43
Joined: Thu May 10, 2012 7:24 am

Re: How xxx.m, xxx_dynamic.m,xxx_static.m files are related?

Postby jpfeifer » Sun Jun 08, 2014 7:11 am

What do you mean with recursively running? There are a lot of post dealing with how to efficiently call Dynare in a loop. See e.g. http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=4891

By the way: those files are called in different places. The _static.m file is for example called in steady state computation.
------------
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 5 guests