??? Error using ==> fprintf

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

??? Error using ==> fprintf

Postby zenghaiwei » 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!
Attachments
NKMest.mod
(1.4 KiB) Downloaded 69 times
zenghaiwei
 
Posts: 18
Joined: Sun Oct 28, 2012 11:40 am

Re: ??? Error using ==> fprintf

Postby HoutanBastani » Mon Nov 26, 2012 10:52 am

Please upgrade to Dynare 4.3.1.

Also, please post the data file.
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: ??? Error using ==> fprintf

Postby zenghaiwei » Thu Nov 29, 2012 10:37 am

Hi,

I have updated to 4.3.1, it it OK. Thanks a lot!
zenghaiwei
 
Posts: 18
Joined: Sun Oct 28, 2012 11:40 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 5 guests