Commit 149df874 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Added documentation about pre and post dynare preprocessor hooks.

parent 38f91226
......@@ -160,10 +160,12 @@ Configuration
Running Dynare
* Dynare invocation::
* Dynare hooks::
* Understanding Preprocessor Error Messages::
Dynare invocation
* Dynare hooks
* Understanding Preprocessor Error Messages::
The Model file
......@@ -638,6 +640,7 @@ required by the user. Its contents is described in @ref{The Model file}.
@menu
* Dynare invocation::
* Dynare hooks::
* Understanding Preprocessor Error Messages::
@end menu
......@@ -814,6 +817,20 @@ during the computation.
Structure containing the various results of the computations.
@end defvr
@node Dynare hooks
@section Dynare hooks
It is possible to call pre and post dynare preprocessor hooks written as matlab scripts.
The script @file{@var{FILENAME}_pre_dynare_preprocessor_hook.m} is executed before the
call to Dynare's preprocessor, and can be used to programatically transform the mod file
that will be read by the preprocessor. The script @file{@var{FILENAME}_post_dynare_preprocessor_hook.m}
is executed just after the call to Dynare's preprocessor, and can be used to programatically
transform the files generated by Dynare's preprocessor before actual computations start. The
pre and/or post dynare preprocessor kooks are executed if and only if the afordmentionned scripts
are detected in the same folder as the the model file, @file{@var{FILENAME}.mod}.
@node Understanding Preprocessor Error Messages
@section Understanding Preprocessor Error Messages
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment