Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
149df874
Commit
149df874
authored
Jun 15, 2013
by
Stéphane Adjemian
Browse files
Added documentation about pre and post dynare preprocessor hooks.
parent
38f91226
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/dynare.texi
View file @
149df874
...
@@ -160,10 +160,12 @@ Configuration
...
@@ -160,10 +160,12 @@ Configuration
Running
Dynare
Running
Dynare
*
Dynare
invocation
::
*
Dynare
invocation
::
*
Dynare
hooks
::
*
Understanding
Preprocessor
Error
Messages
::
*
Understanding
Preprocessor
Error
Messages
::
Dynare
invocation
Dynare
invocation
*
Dynare
hooks
*
Understanding
Preprocessor
Error
Messages
::
*
Understanding
Preprocessor
Error
Messages
::
The
Model
file
The
Model
file
...
@@ -638,6 +640,7 @@ required by the user. Its contents is described in @ref{The Model file}.
...
@@ -638,6 +640,7 @@ required by the user. Its contents is described in @ref{The Model file}.
@menu
@menu
* Dynare invocation::
* Dynare invocation::
* Dynare hooks::
* Understanding Preprocessor Error Messages::
* Understanding Preprocessor Error Messages::
@end menu
@end menu
...
@@ -814,6 +817,20 @@ during the computation.
...
@@ -814,6 +817,20 @@ during the computation.
Structure containing the various results of the computations.
Structure containing the various results of the computations.
@end defvr
@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
@
node
Understanding
Preprocessor
Error
Messages
@
section
Understanding
Preprocessor
Error
Messages
@
section
Understanding
Preprocessor
Error
Messages
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment