Page 1 of 1

Matlab Functions in Dynare 4

PostPosted: Thu May 15, 2008 6:10 pm
by bigbigben
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?

Re: Matlab Functions in Dynare 4

PostPosted: Fri May 16, 2008 8:38 am
by StephaneAdjemian
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.