Page 1 of 1

model bloc

PostPosted: Thu May 31, 2012 5:31 pm
by DJINKPO
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.

Re: model bloc

PostPosted: Tue Jun 05, 2012 7:10 am
by jpfeifer
Please post the mod-file

Re: model bloc

PostPosted: Thu Jun 07, 2012 10:58 am
by StephaneAdjemian
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.