Problems with RBC_Est.mod and fs2000ns.mod

I am currently using Dynare 4.1.2. I have a problem for reproducing the two following examples gaved with the Dynare User Guide (RBC_Est.mod and fs2000ns.mod). When I run Dynare with these two programs, after a few time, I get the following error message:

??? Error: File: c:\dynare\4.1.2\matlab\McMCDiagnostics_core.m Line: 36 Column: 8
Functions cannot be indexed using {} or . indexing.

Error in ==> McMCDiagnostics at 100
fout = McMCDiagnostics_core(localVars,1,npar,0);

Error in ==> dynare_estimation_1 at 1066
McMCDiagnostics(options_, estim_params_, M_);

Error in ==> dynare_estimation at 62

Error in ==> fs2000ns at 175

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

The programs are not converging. Can you help please. Thanks.

This bug has been fixed. The correction is available in dynare-unstable