??? Error using ==> fprintf
Posted: Sat Nov 24, 2012 12:06 pm
Hi,all
I have run my .mod file before, it is OK. But after several days, I run it again. I encounter the following problem,
??? Error using ==> fprintf
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in ==> metropolis_hastings_initialization at 75
fprintf(fidlog,'%% MH log file (Dynare).\n');
Error in ==> random_walk_metropolis_hastings at 58
[ ix2, ilogpo2, ModelName, MhDirectoryName, fblck, fline, npar, nblck, nruns, NewFile, MAX_nruns, d ] = ...
Error in ==> dynare_estimation_1 at 871
feval(options_.posterior_sampling_method,'DsgeLikelihood',options_.proposal_distribution,xparam1,invhess,bounds,gend,data,...
Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});
Error in ==> NKMest at 188
dynare_estimation(var_list_);
Error in ==> dynare at 120
evalin('base',fname) ;
why?
Thanks a lot!
I have run my .mod file before, it is OK. But after several days, I run it again. I encounter the following problem,
??? Error using ==> fprintf
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in ==> metropolis_hastings_initialization at 75
fprintf(fidlog,'%% MH log file (Dynare).\n');
Error in ==> random_walk_metropolis_hastings at 58
[ ix2, ilogpo2, ModelName, MhDirectoryName, fblck, fline, npar, nblck, nruns, NewFile, MAX_nruns, d ] = ...
Error in ==> dynare_estimation_1 at 871
feval(options_.posterior_sampling_method,'DsgeLikelihood',options_.proposal_distribution,xparam1,invhess,bounds,gend,data,...
Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});
Error in ==> NKMest at 188
dynare_estimation(var_list_);
Error in ==> dynare at 120
evalin('base',fname) ;
why?
Thanks a lot!