Hi,

in my code I have a steady_state_model block in which I compute the steady state of some model parameters (which endogenously depend from other parameters).

It does not work because I am calling an external function using the “@” symbol

sigwstar = fzero(@(sigma) zetaspbfcn(zwstar,sigma,sprd)-zeta_spb,0.5);

I attach the est_aejmodel.mod code and the zetaspbfcn function. I tried to have a look at previous posts but could not figure out the solution.

Many thanks for any help

Fabioest_aejmodel.mod (10.4 KB)

zetaspbfcn.m (178 Bytes)