Matlab Functions in Dynare 4

Hi, I write a code with Matlab functions in Dynare. It looks like Dynare won’t recognize.

The function is just normcdf in Matlab, below is the line Dynare recognized as an error

normcdf((log(omeU)+sig_omeU^2)/sig_omeU);

The Error Message from dynare tells me there is an unmatched “)”, but there is not.

Do you have similar experience or just me?

Hi bigbigben,

The problem is that normcdf is also a Dynare word (yet undocumented). The dynare function needs three input arguments. Where do you call this function in the mod file ? Inside or outside the model block ? Maybe we will have to change the name of the Dynare function.

Best,
Stéphane.