In case of update from a previous version, it is a good idea to copy
the old version in a backup directory so as to be able to revert to it
in case of problems. None of the previous files are usefull anymore, so you are strongly encouraged to remove them from directory c:\dynare
. The Matlab version of Dynare lets you now easily have different versions of Dynare on your computer.
After installation, Dynare can be used in any directory on your computer. It is best practive to keep your model files in directories different from the one containing the Dynare toolbox. That way you can upgrade Dynare and discard the previous version without having to worry about your own files.
Starting with version 3.0, by default, Dynare is installed in a directory whose name contains the version number. For example
Dynare_v3.0
This directory contains several sub-directories, among which matlab
, doc
and examples
.
After unpacking the archive, start the Matlab program and use the menu File/Set path to add the path to Dynare matlab
subdirectory. For example
c:\dynare_v3.0\matlab
Unpack the zip file in the directory c:\
(If you want to use another
directory, see below). The Scilab version in automatically installed in c:\dynare\scilab
.
Then, find the scilab.star
file, in the top directory of your Scilab distribution. Edit this file and add the following line after similar statements:
load('c:/dynare/scilab/lib');
If you installed Dynare for Scilab in a directory different from c:\dynare\scilab
, change the above instructions accordingly and edit the following line in Dynare.sci
command = 'c:\dynare\scilab\dynare_s '+fname;
Then, restart Scilab and run the command uplib().
Unpack the zip file in the directory c:\
(If you want to use another
directory, see below). The Gauss version in automatically installed in c:\dynare\gauss
.
If you had any previous version of Dynare, use the Gauss editor or any text editor to remove all references to it from the library file user.lcg
.
After unpacking the archive, start the Gauss program and type the following:
library pgraph lib user c:\dynare\gauss\dynare.src lib user c:\dynare\gauss\dynare1.src lib user c:\dynare\gauss\dynare2.src lib user c:\dynare\gauss\dynare3.src
If you installed Dynare for Gauss in a directory different from c:\dynare\gauss
, change the above instructions accordingly and edit the following line in Dynare.src
declare string PARSER = "c:\\dynare\\gauss\\dynare_g ";