Acceptance of steady state calculation


I am trying to solve a simple DSGE model, but have one big problem:

the calculation of the steady state in our model is outsourced to another file (model1_steadystate) and matlab/dynare is not willing to accept the “link” to this file:

??? Undefined function or variable “example1_steadystate”.

Error in ==> example1 at 88

Error in ==> dynare at 26
evalin(‘base’,fname) ;

what can I do?

Thank you very much for your support!!

Greetz, micky

Please look at the example file in fs2000. in the file to calculate steadystate, you should name two output variables check and ys. you can set check=0 and ys is the variable for steady state. Also you may need to specify a “fake” input, ys_ as the input for this function.

I guess dynare will throw the initial guess in this file and output the steadystate based on your calculation. so, you may want to separate the “fake” input and the “true” input for your calculation.

Thanks a lot for the hints! They really pushed me forward!