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”.
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.