model bloc

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.

model bloc

Postby DJINKPO » Thu May 31, 2012 5:31 pm

Hello!
I am doing estimation of my model but the error mesage in matlab is: ERROR: file.mod:55.65-69: To use an external function within the model block, you must first declare it via the external_function() statement. But in mys model bloc, I did not use any external function except the binary expression like +, -, *, / and log for some AR term.
I don't understand exactely what is wrong in my model bloc.
DJINKPO
 
Posts: 10
Joined: Thu Dec 22, 2011 8:41 am

Re: model bloc

Postby jpfeifer » Tue Jun 05, 2012 7:10 am

Please post the mod-file
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: model bloc

Postby StephaneAdjemian » Thu Jun 07, 2012 10:58 am

Hi, It's probably the consequence of a typo. I guess you wrote something like azert(1) or azert(-1) in your model block (because azert is not declared as a variable or a coefficient dynare interprets this instruction as a call to an undefined external function.

Best,
Stéphane.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
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 5 guests

cron