Including code withing a .mod file

Hello everyone,

i have a very simple question concerning the structure of a dynare mod-file: Is it possible to swap some code into another file, which can be included in the .mod-file at a certain position? I would like to decrease the size of my .mod-file, since i use some bulky sourcecode to generate the output.

Many many thanks,
Simon

Yes, use the “@#include” directive of the macro-processor. Have a look at the “macroprocessor.pdf” file or to the reference manual (both in the documentation directory of Dynare).

thank you very much, this was of great help.