Matlab Functions in Dynare 4

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Matlab Functions in Dynare 4

Postby bigbigben » Thu May 15, 2008 6:10 pm

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?
bigbigben
 
Posts: 171
Joined: Sun May 28, 2006 1:19 am

Re: Matlab Functions in Dynare 4

Postby StephaneAdjemian » Fri May 16, 2008 8:38 am

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.
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 13 guests