How can I tell Dynare not to create files of figures?

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 can I tell Dynare not to create files of figures?

Postby kyri82 » Mon Sep 19, 2011 9:07 am

Hello,

Dynare always saves figures of Impulse Response Functions in .eps, .pdf and matlab format. A problem with that is that my hard disk gets filled up with all these files every time I run a model. Is there a way, possibly as an option, to tell Dynare NOT to save figures of the impulse responses? Thanks!

Kyriacos
kyri82
 
Posts: 141
Joined: Thu Feb 10, 2011 6:14 pm
Location: Toulouse - France

Re: How can I tell Dynare not to create files of figures?

Postby SébastienVillemot » Wed Sep 28, 2011 12:55 pm

Have you tried the "nograph" option? (see the reference manual) At least with "stoch_simul", it will prevent Dynare from saving IRF graphs. In the case of estimation, it seems that it will prevent Dynare from displaying graphs but not from saving files. This is something we should improve.

Best,
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: How can I tell Dynare not to create files of figures?

Postby mfer » Sun Nov 06, 2011 2:59 pm

One alternative could be:
Create a matlab function clean_dynare_output.m that contains for example:

Code: Select all
delete *_IRF_*
delete *_dynamic.m
delete *_static.m
delete *.jnl
delete *.log
delete *.eps
delete *.pdf


(or specify whatever you think you don't need)

and call
Code: Select all
clean_dynare_output;
at the end of the *.mod file.

PS: Be careful in using it: if you have for example other .pdf files, it will erase also those. You might want to modify the 'delete *.pdf' command appropriately so that this does not happen.
mfer
 
Posts: 7
Joined: Wed Jul 15, 2009 12:19 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 13 guests