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.
Please post the mod-file
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.