Rbc_simulation

hi dear all,

thank you for reading this post.
here is a .mod file which tries to simulate data from a simple rbc model. (the example given on the homepage of Dynare by Prof.Jesus Fern´andez-Villaverde from UPenn)

But two errors occured at the end:

Error: File: rbc_penn.m Line: 157 Column: 1
Illegal use of reserved keyword “end”.

Error in ==> dynare at 120
evalin(‘base’,fname) ;

can any one have a look at the .mod file and help to fix the problem ?
rbc_penn.mod (1.31 KB)

There should be no end before the model-block.