Hi everyone,

I am trying to replicate the model of Orsi (2014). I’m using a solver to compute the steady state of the model but I keep getting this error:

Not enough input arguments.

Error in orsi_22_steadystate (line 43)

NumberOfParameters = M_.param_nbr;

Error in fsolve (line 260)

fuser = feval(funfcn{3},x,varargin{:});

Caused by:

Failure in initial objective function evaluation. FSOLVE cannot continue.

I’d really appreciate if any of you could help me figure this out.

Thank you so much!

orsi_22.mod (5.3 KB)

orsi_22_steadystate.m (3.9 KB)