This page documents incompatibilities accross MATLAB versions. For each MATLAB release, it gives the main changes appearing in that release and that Dynare needs to handle.

Note that all changes are not documented, please refer to the official release notes for a full list: for releases up to 6.5.1 (R13SP1), and for releases since 7.0 (R14).

Dynare deals with these incompatibilities at three places:

MATLAB 8.3 (R2014a)

MATLAB 8.2 (R2013b)

MATLAB 8.1 (R2013a)

MATLAB 8.0 (R2012b)

MATLAB 7.14 (R2012a)

MATLAB 7.13 (R2011b)

MATLAB 7.12 (R2011a)

MATLAB 7.11 (R2010b)

MATLAB 7.10 (R2010a)

function structOut = getStruct
structOut = struct('fieldA', 5, 'fieldB', 10);

it is no longer valid to access fields of the structure by directly dot indexing the function's return value, as shown here:


Instead, you should first assign the returned structure to a variable, and then dot index the variable:

s = getStruct;
ans =

MATLAB 7.9 (R2009b)

MATLAB 7.8 (R2009a)

MATLAB 7.7 (R2008b)

MATLAB 7.6 (R2008a)

MATLAB 7.5 (R2007b)

MATLAB 7.4 (R2007a)

MATLAB 7.3 (R2006b)

MATLAB 7.2 (R2006a)

MATLAB 7.1 (R14SP3)

MATLAB 7.0.4 (R14SP2)

MATLAB 7.0.1 (R14SP1)

MATLAB 7.0 (R14)

DynareWiki: MatlabVersionsCompatibility (last edited 2014-03-24 15:28:09 by SébastienVillemot)