Error using steady state function


I have a mod file for a model where I use a matlab code to compute the steady state.

In dynare version 3 my mode file works fine. But with Dynare version 4 it does not (I copied pasted the message that shows up in the command window). Can anyone understand what is going wrong?

I write in my mode file: usmodel_steadystate;
The error message seems to indicate that it is not recognizing the m file as a function (it therefore expects an equality sign). I do not understand why is this the case. Can anyone help me with this?

Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.

Starting Dynare …
Starting preprocessing of the model file …
ERROR: usmodel.mod:80.13: syntax error, unexpected ‘;’, expecting EQUAL

It seems that you have a problem in line 80 of your mod file. Either try to see what is going on there or post the mod file, so we can help you to figure things out.