Page 1 of 1

text based waitbar

PostPosted: Tue May 05, 2009 2:06 pm
by lombard
Hi,

this is simply a proposal. UsingMatlab in a non-graphical environment one loses the waitbar. The waitbar is handy e.g. for long MCMC. My proposal is to allow for a text-based waitbar e.g. http://www.mathworks.com/matlabcentral/ ... ange/16213 or similar.

Best

Gianni

Re: text based waitbar

PostPosted: Tue May 05, 2009 2:52 pm
by lombard
For example could add at line 103 of random_walk_metropolis_hastings.m

Code: Select all
          if exist('progress','file');
              progress(prtfrc,sprintf('\n Done  %2.2f pc.; Acceptance rate %2.2f pc. \n',prtfrc*100,isux/j*100));
          end

(and maybe suppress the Matlab waitbar altogether...)

Gianni