by StephaneAdjemian » Mon Jan 18, 2010 9:43 am
Hi Petr,
It is not possible to call a matlab user defined function in the model block. The reason is that dynare 4.x computes the analytical derivates instead of numerical derivates (as in dynare 3.x). Consequently, Dynare does not know how to compute the derivate of a matlab user defined function. The next release of Dynare (version 4.2) will provide a way for the user to declare matlab functions and their derivates, so that it will be possible to use matlab functions in the model block.
However note that Dynare understands the keyword normcdf (see the manual).
Best,
Stéphane.