Dynare for Octave
Porting of Dynare to [http://www.octave.org Octave] is under progress. Development is done using Octave version 3.0 (now available in Debian Testing aka "Lenny").
A specific subversion branch has been created under branches/dynare_v4_octave. Note that this branch is supposed to work on both Matlab and Octave (using tests to differentiate between the two when necessary). Please report any failure to run under Matlab.
It is possible to view the differences between Matlab and Octave versions of Dynare by issuing:
svn diff http://www.cepremap.cnrs.fr/svn/dynare_v4 http://www.cepremap.cnrs.fr/svn/branches/dynare_v4_octave
Note: be aware that recent changes to Matlab version of Dynare may not have been yet merged into the Octave branch, and may thus appear as spurious differences.
Installing and running Dynare for Octave
Under Debian "Lenny", install package octave3.0.
At the prompt, type:
octave
Then add path to dynare_v4_octave using the addpath command, as you would under Matlab. It is possible to autoexecute this command at each Octave start by adding it to the ~/.octaverc init file.
List of issues between Matlab and Octave
- Warning handling is different between Matlab and Octave, and necessitated some adjustments.
Ajustments were obviously necessary where version() function is called
Generalized eigenvalues are not implemented as a primitive (i.e. eig(A,B) doesn't exist in Octave). This implied a change in dr1.m
Current status of development
- Simple deterministic models should work