example files fs2000ms.mod and RBC_Est.mod
Posted: Fri Oct 08, 2010 3:52 pm
Hi everybody,
I have a problem with the User Guide's example files fs2000ms.mod and RBC_Est.mod. When I run them (I'm using Dynare 4.1.2), I always get this 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
dynare_estimation_1(var_list,varargin{:});
Error in ==> fs2000ns at 175
dynare_estimation(var_list_);
Error in ==> dynare at 132
evalin('base',fname) ;
I saw on older posts, that the problem had been solved in the Dynare Unstable version, but when I use that I get this error message:
??? Undefined command/function 'setenv'.
Error in ==> set_dynare_threads at 27
setenv('DYNARE_NUM_THREADS',int2str(n));
Error in ==> dynare_config at 161
set_dynare_threads(1);
Error in ==> dynare at 80
dynareroot = dynare_config;
Can anybody help me?
Thank you
Alice
I have a problem with the User Guide's example files fs2000ms.mod and RBC_Est.mod. When I run them (I'm using Dynare 4.1.2), I always get this 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
dynare_estimation_1(var_list,varargin{:});
Error in ==> fs2000ns at 175
dynare_estimation(var_list_);
Error in ==> dynare at 132
evalin('base',fname) ;
I saw on older posts, that the problem had been solved in the Dynare Unstable version, but when I use that I get this error message:
??? Undefined command/function 'setenv'.
Error in ==> set_dynare_threads at 27
setenv('DYNARE_NUM_THREADS',int2str(n));
Error in ==> dynare_config at 161
set_dynare_threads(1);
Error in ==> dynare at 80
dynareroot = dynare_config;
Can anybody help me?
Thank you
Alice