2011-02-21 11:50:01 +01:00
|
|
|
|
Dynare
|
2019-04-16 14:52:01 +02:00
|
|
|
|
━━━━━━
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
|
|
|
|
For information about how to use Dynare, you should have a look at the
|
2019-04-16 14:52:01 +02:00
|
|
|
|
documentation located in the ‘doc’ subdirectory of your Dynare installation (you
|
2008-07-08 19:01:23 +02:00
|
|
|
|
should have a shortcut in your Start Menu to access it directly).
|
|
|
|
|
|
2019-04-16 14:52:01 +02:00
|
|
|
|
Beginners should start with the tutorial (under PDF format in ‘guide.pdf’).
|
|
|
|
|
There is also a complete reference manual documenting all Dynare functions
|
|
|
|
|
(under HTML format in ‘dynare-manual.html\index.html’, under PDF format in
|
|
|
|
|
‘dynare-manual.pdf’).
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2019-06-13 11:40:03 +02:00
|
|
|
|
You can also get more information on the Dynare homepage:
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2019-04-16 14:52:01 +02:00
|
|
|
|
https://www.dynare.org
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2019-04-16 14:52:01 +02:00
|
|
|
|
Note: Dynare comes with an automated uninstaller, which you can run from the
|
|
|
|
|
“Add/Remove Programs” menu of the Control Panel.
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
|
|
|
|
|
2019-04-16 14:52:01 +02:00
|
|
|
|
Using Dynare with MATLAB®
|
|
|
|
|
─────────────────────────
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2020-04-07 12:24:16 +02:00
|
|
|
|
Dynare requires MATLAB® version 8.3 (R2014a) or above. With older versions of
|
2020-07-17 11:44:20 +02:00
|
|
|
|
MATLAB®, it may fail or give unexpected results. Only 64-bit versions are
|
|
|
|
|
supported.
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2019-04-16 14:52:01 +02:00
|
|
|
|
To use Dynare, you just have to add the ‘matlab’ subdirectory of your Dynare
|
|
|
|
|
installation to MATLAB® path. You have two options for doing that:
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2019-04-16 14:52:01 +02:00
|
|
|
|
— Use the addpath command, by typing the following (assuming that you have
|
|
|
|
|
installed Dynare at the standard location, and replacing ‘4.x.y’ by the correct
|
2008-07-09 19:20:45 +02:00
|
|
|
|
version number):
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2008-07-09 19:20:45 +02:00
|
|
|
|
addpath c:\dynare\4.x.y\matlab
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2019-04-16 14:52:01 +02:00
|
|
|
|
MATLAB® will not remember this setting next time you run it, and you will
|
2008-07-11 16:57:54 +02:00
|
|
|
|
have to do it again.
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2019-04-16 14:52:01 +02:00
|
|
|
|
— Select the “Set Path” entry in the “File” menu, then click on “Add Folder…”,
|
|
|
|
|
and select the ‘matlab’ subdirectory of your Dynare installation. Note that
|
|
|
|
|
you must not use “Add with Subfolders…”. Apply the settings by clicking on
|
|
|
|
|
“Save”. Note that MATLAB® will remember this setting next time you run it.
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2019-04-16 14:52:01 +02:00
|
|
|
|
You can test your installation by typing ‘dynare’ at the MATLAB® prompt. This
|
|
|
|
|
should give you an error message complaining that you did not specify a MOD
|
|
|
|
|
file.
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Using Dynare with Octave
|
2019-04-16 14:52:01 +02:00
|
|
|
|
────────────────────────
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2019-04-16 14:52:01 +02:00
|
|
|
|
Dynare also works on top of GNU Octave, a free clone of MATLAB® (see
|
|
|
|
|
<https://www.octave.org>).
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2021-07-21 17:32:02 +02:00
|
|
|
|
This version of Dynare is compiled for Octave 6.3.0 (MinGW, 64-bit),
|
2019-04-16 14:52:01 +02:00
|
|
|
|
and may not work with other versions of Octave. The recommended version of
|
|
|
|
|
Octave can be downloaded at:
|
2021-07-21 17:32:02 +02:00
|
|
|
|
https://ftpmirror.gnu.org/gnu/octave/windows/octave-6.3.0-w64-installer.exe
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2019-06-13 11:40:03 +02:00
|
|
|
|
Every time you run Octave, you should type the following command (assuming that
|
|
|
|
|
you have installed Dynare at the standard location, and replacing ‘4.x.y’ by
|
|
|
|
|
the correct version number):
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2008-07-09 19:20:45 +02:00
|
|
|
|
addpath c:\dynare\4.x.y\matlab
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2019-04-16 14:52:01 +02:00
|
|
|
|
Note: if you don't want to type this command every time you run Octave, you can
|
2019-05-13 12:23:04 +02:00
|
|
|
|
put it in a file called ‘.octaverc’ in your home directory
|
|
|
|
|
(typically ‘c:\Users\USERNAME’). This file is run by Octave at every startup.
|
2008-07-08 19:01:23 +02:00
|
|
|
|
|
2019-04-16 14:52:01 +02:00
|
|
|
|
You can test your installation by typing ‘dynare’ at the Octave prompt. This
|
2008-07-08 19:01:23 +02:00
|
|
|
|
should give you an error message complaining that you did not specify a MOD
|
|
|
|
|
file.
|
|
|
|
|
|
2008-07-09 19:20:45 +02:00
|
|
|
|
|
|
|
|
|
Credits
|
2019-04-16 14:52:01 +02:00
|
|
|
|
───────
|
2008-07-09 19:20:45 +02:00
|
|
|
|
|
2019-04-16 14:52:01 +02:00
|
|
|
|
MATLAB® is a registered trademark of The Mathworks, Inc.
|