Dynare with Octave

Dynare is now able to run on GNU Octave, which is basically a free clone of MATLAB.

Octave versions ranging from 3.2.2 to 3.6 are supported (the unstable version requires 3.4 at least).

About Octave

GNU Octave is a free clone of MATLAB, running under GNU/Linux, Windows and MacOS.

It normally runs in a command window, and displays graphics in separate windows (using Gnuplot).

Some ressources:

Installing Dynare 4.3 with Octave

Windows (without Cygwin)

This is the recommended way for Windows users.

Windows (with Cygwin)

Note that graphics are not supported when Octave is run from the Cygwin prompt; you need to use the option nograph in your MOD file. If you want graphics, install the X windows server.

GNU/Linux

For Debian or Ubuntu distributions, see InstallOnDebianOrUbuntu.

For other distributions:

Running Dynare with Octave

First, you should run Octave.

Under GNU/Linux, at the prompt, just type:

octave

Under Windows, you should have a shortcut already installed in your Start menu.

It is also possible to run Octave under Emacs.

Then, from Octave, add the path to Dynare with the addpath command, as you would under MATLAB:

addpath REPLACE_WITH_INSTALL_PATH/matlab

It is possible to autoexecute this command at each Octave start by adding it to the .octaverc startup file (under Linux, this file should be put in the home directory; under Windows, it should be put at the root of the user home under Documents and Settings).

Invoking Dynare

If your MOD file is ramst.mod, just type:

dynare ramst

Current status of Dynare with Octave

Main differences between MATLAB and Octave which are dealt with by Dynare