Dynare help

Is Dynare compatible with the student matlab version 5.3?
If so I am having a problem running the model files e.g. whenever I enter the command dynare ramst.mod I get the following error message "error in ==> dynare_v3.0\dynare.m on line 12 ==> pathfile = mfilename('fullpath')" Cany anyone asist?
If so I am having a problem running the model files e.g. whenever I enter the command dynare ramst.mod I get the following error message "error in ==> dynare_v3.0\dynare.m on line 12 ==> pathfile = mfilename('fullpath')" Cany anyone asist?