Hi there!

I’m trying to run a DSGE model in Dynare and it prints the following error:

Starting Dynare (version 5.2).

Calling Dynare with arguments: none

Starting preprocessing of the model file …

Found 31 equation(s).

Evaluating expressions…done

Computing static model derivatives (order 1).

Computing dynamic model derivatives (order 1).

Processing outputs …

done

Preprocessing completed.

Undefined function or variable ‘s’.

Error in mod_file.driver (line 551)

s

Error in dynare (line 281)

evalin(‘base’,[fname ‘.driver’]);

I open the driver file and indeed there is an “s” in the file.

It’s weird because I’ve being able to run the code without error, but suddenly gives this error.

I’ve set the path to the matlab file in Dynare and everything.

I’d appreciate any help to solve it.

Thanks in advance!