Differences between revisions 20 and 21
Revision 20 as of 2009-07-23 08:42:08
Size: 808
Comment:
Revision 21 as of 2009-08-19 12:46:32
Size: 1769
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= New or previously undocumented features = This page documents new or previously undocumented features.

= New in Dynare 4.0
=
Line 13: Line 15:
== Octave support (free alternative to Matlab) ==
 * DynareOctave

= New in Dynare unstable (to be released as version 4.1) =
Line 16: Line 23:
== Octave support (free alternative to Matlab) ==
 * DynareOctave
 * [[ModelLatexOutput | Creating a LaTeX file containing the model equations]]
 * The type of a symbol can now be changed after the symbol declaration. In the following example, {{{alpha}}} will be considered as a parameter, and {{{beta}}} as an endogenous.
{{{
var alpha;
parameters beta;
...
change_type(parameters) alpha;
change_type(var) beta;
}}}
Note that the type change applies to the ''whole'' MOD file. This command is mainly useful when symbol declarations are taken from an included file, and you want to change the types of some variables (for example for "variable flipping").

 * The macro-language accepts a new operator {{{in}}}, which tests memberships of an element inside an array. In the following example, the body of the {{{if}}} statement will be evaluated:
{{{
@#define x = [ 1 3 5 ]
@#if 3 in x
...
@#endif
}}}

This page documents new or previously undocumented features.

New in Dynare 4.0

Preprocessor

Dynare functions

Octave support (free alternative to Matlab)

New in Dynare unstable (to be released as version 4.1)

var alpha;
parameters beta;
...
change_type(parameters) alpha;
change_type(var) beta;

Note that the type change applies to the whole MOD file. This command is mainly useful when symbol declarations are taken from an included file, and you want to change the types of some variables (for example for "variable flipping").

  • The macro-language accepts a new operator in, which tests memberships of an element inside an array. In the following example, the body of the if statement will be evaluated:

@#define x = [ 1 3 5 ]
@#if 3 in x
...
@#endif

DynareWiki: NewFeatures (last edited 2017-05-29 09:09:50 by StéphaneAdjemian)