Checking Stéphane’s code, I got the following error message:
> Undefined function 'isnan' for input
> arguments of type 'dates'.
> Error in extended_path (line 89)
> if isnan(DynareOptions.initial_period)
> Error in rbc11 (line 121)
> extended_path([], 1000, [], options_,
> M_, oo_);
> Error in dynare (line 235)
> evalin('base',fname) ;