I try to run the code along with Smets-Wouters (2007 AER). They do have a dynare code for their model, however, dynare v4 won't run it since the error in the following line:
model(linear);
#usmodel_stst;
:
:
:
end;
I understand the symbol # allows some computation between "model" and "end", but it can't evaluate the function like usmodel_stst.m used in SW (2007). I think it works for version 3, so why remove this nice feature?