First steps on UserGuide, anomalies and bugs

UserGuide Chap. 5: launching RBC_Est.mod (example file provided under UserGuide) does not work:

You did not declare endogenous variables after the estimation/calib_smoother command.
***MESSAGE FROM ROUTINE D9LGIT IN LIBRARY SLATEC.
***FATAL ERROR, PROG ABORTED, TRACEBACK REQUESTED

reading the code, it needs the datafile=simuldataRBC which doesn’t exist in the current folder ‘models’

it seems this file can be created by RBCDataGen.mod with datatomfile(‘simuldataRBC’,]);

so to launch RBCDataGen.mod , you will get the error message:

ERROR: RBC_DataGen.mod: line 67, cols 32-47: syntax error, unexpected NAME
error: DYNARE: preprocessing failed
error: called from:
error: c:\dynare\4.4.3\matlab\dynare.m at line 174, column 5

can somebody help me ?