| 1 |
Dynare |
| 2 |
━━━━━━ |
| 3 |
|
| 4 |
For information about how to use Dynare, you should have a look at the |
| 5 |
documentation located in the ‘doc’ subdirectory of your Dynare installation (you |
| 6 |
should have a shortcut in your Start Menu to access it directly). |
| 7 |
|
| 8 |
Beginners should start with the tutorial (under PDF format in ‘guide.pdf’). |
| 9 |
There is also a complete reference manual documenting all Dynare functions |
| 10 |
(under HTML format in ‘dynare-manual.html\index.html’, under PDF format in |
| 11 |
‘dynare-manual.pdf’). |
| 12 |
|
| 13 |
You can also get more information on the Dynare homepage: |
| 14 |
|
| 15 |
https://www.dynare.org |
| 16 |
|
| 17 |
Note: Dynare comes with an automated uninstaller, which you can run from the |
| 18 |
“Add or remove programs” menu of the Control Panel. |
| 19 |
|
| 20 |
|
| 21 |
Using Dynare with MATLAB® |
| 22 |
───────────────────────── |
| 23 |
|
| 24 |
Dynare works on top of MATLAB®, any version ranging from 9.8 (R2020a) to 26.1 |
| 25 |
(R2026a). Only 64-bit versions are supported. |
| 26 |
|
| 27 |
To use Dynare, you just have to add the ‘matlab’ subdirectory of your Dynare |
| 28 |
installation to MATLAB® path. You have two options for doing that: |
| 29 |
|
| 30 |
— Use the addpath command, by typing the following (assuming that you have |
| 31 |
installed Dynare at the standard location, and replacing ‘x.y’ by the correct |
| 32 |
version number): |
| 33 |
|
| 34 |
addpath c:\dynare\x.y\matlab |
| 35 |
|
| 36 |
MATLAB® will not remember this setting next time you run it, and you will |
| 37 |
have to do it again. |
| 38 |
|
| 39 |
— Select the “Set Path” entry in the “File” menu, then click on “Add Folder…”, |
| 40 |
and select the ‘matlab’ subdirectory of your Dynare installation. Note that |
| 41 |
you must not use “Add with Subfolders…”. Apply the settings by clicking on |
| 42 |
“Save”. Note that MATLAB® will remember this setting next time you run it. |
| 43 |
|
| 44 |
You can test your installation by typing ‘dynare’ at the MATLAB® prompt. This |
| 45 |
should give you an error message complaining that you did not specify a MOD |
| 46 |
file. |
| 47 |
|
| 48 |
|
| 49 |
Using Dynare with Octave |
| 50 |
──────────────────────── |
| 51 |
|
| 52 |
Dynare also works on top of GNU Octave, a free clone of MATLAB® (see |
| 53 |
<https://www.octave.org>). |
| 54 |
|
| 55 |
This version of Dynare is compiled for Octave 11.1.0 (MinGW, 64-bit), |
| 56 |
and may not work with other versions of Octave. The recommended version of |
| 57 |
Octave can be downloaded at: |
| 58 |
https://ftpmirror.gnu.org/gnu/octave/windows/octave-11.1.0-w64-installer.exe |
| 59 |
|
| 60 |
Every time you run Octave, you should type the following command (assuming that |
| 61 |
you have installed Dynare at the standard location, and replacing ‘x.y’ by |
| 62 |
the correct version number): |
| 63 |
|
| 64 |
addpath c:\dynare\x.y\matlab |
| 65 |
|
| 66 |
Note: if you don't want to type this command every time you run Octave, you can |
| 67 |
put it in a file called ‘.octaverc’ in your home directory |
| 68 |
(typically ‘c:\Users\USERNAME’). This file is run by Octave at every startup. |
| 69 |
|
| 70 |
You can test your installation by typing ‘dynare’ at the Octave prompt. This |
| 71 |
should give you an error message complaining that you did not specify a MOD |
| 72 |
file. |
| 73 |
|
| 74 |
|
| 75 |
Credits |
| 76 |
─────── |
| 77 |
|
| 78 |
MATLAB® is a registered trademark of The Mathworks, Inc. |