This is a small improvement on Stéphane’s steadystate file. It’s a function that searches for the existence of model_steadystate.mod or model_steadystate.dyn (if your model is called “model”) than creates the model_steadystate.m file with Stéphane’s specifications. If you don’t have this .mod or .dyn file, you can still use the .m file.
It’s simpler because you just put the steady state equations in the .mod file and it does the rest. I’ve modified Stéphane’s stuff to work with both Dynare 3 and 4.
To install, put steadystate.m in your path and add the line: steadystate(fname); in the file dynare.m somewhere in the begining.
Gilles