Writing a MATLAB steadystate file

The parts at the beginning and the end of the file are just there for reading out and passing back the values of the parameters. In particular, the first part reads the parameters from the parameter vector and stores them into variables with the parameters names so they can be accessed using their name.
See also my post here [Steady state file). You just have to enter your computations where the code says