Prevent dynare from storing results

Hello there! :slight_smile:

I need to run Dynare several times since I use it within a loop to perform IRF matching.
I was asking myself whether there is a way to prevent Dynare from storing the results
from stoch_simul each time (e.g. “…_results.mat”, “…_dynamic.m” as well as any other
generated output). I browsed through the forum but could not find any answer to that.

Thank you very much in advance!

Do not run Dynare, only the parts you need. See e.g. [Loop over parameters) or the Replication files to Born/Pfeifer (2014)“Risk Matters: A Comment” on my homepage. At the end of the file, we run Dynare in a loop to perform moment-matching.

Thank you very very much!