From 111d0b0c2c13e055b52273c178e948851a121c9c Mon Sep 17 00:00:00 2001 From: ratto Date: Wed, 27 May 2009 10:29:23 +0000 Subject: [PATCH] 1) Full parallel structure passed to fmessage status; 2) unix path syntax; git-svn-id: https://www.dynare.org/svn/dynare/trunk@2699 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/random_walk_metropolis_hastings_core.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matlab/random_walk_metropolis_hastings_core.m b/matlab/random_walk_metropolis_hastings_core.m index ed9388d75..90e28b936 100644 --- a/matlab/random_walk_metropolis_hastings_core.m +++ b/matlab/random_walk_metropolis_hastings_core.m @@ -67,7 +67,7 @@ for b = fblck:nblck, % keyboard; waitbarString = ['Please wait... Metropolis-Hastings (' int2str(b) '/' int2str(options_.mh_nblck) ')...']; waitbarTitle=['Metropolis-Hastings ',options_.parallel(ThisMatlab).PcName]; - fMessageStatus(0,b,waitbarString, waitbarTitle, options_.parallel(ThisMatlab).Local, MasterName, DyMo); + fMessageStatus(0,b,waitbarString, waitbarTitle, options_.parallel(ThisMatlab), MasterName, DyMo); end isux = 0; @@ -103,7 +103,7 @@ for b = fblck:nblck, elseif mod(j,50)==0 & whoiam, % keyboard; waitbarString = [ '(' int2str(b) '/' int2str(options_.mh_nblck) ') ' sprintf('%f done, acceptation rate %f',prtfrc,isux/j)]; - fMessageStatus(prtfrc,b,waitbarString, waitbarTitle, options_.parallel(ThisMatlab).Local, MasterName, DyMo) + fMessageStatus(prtfrc,b,waitbarString, waitbarTitle, options_.parallel(ThisMatlab), MasterName, DyMo) end end @@ -159,7 +159,7 @@ for b = fblck:nblck, end record.Seeds(b).Normal = randn('state'); record.Seeds(b).Unifor = rand('state'); - OutputFileName(jloop,:) = {[MhDirectoryName,'\'], [ModelName '_mh*_blck' int2str(b) '.mat']}; + OutputFileName(jloop,:) = {[MhDirectoryName,'/'], [ModelName '_mh*_blck' int2str(b) '.mat']}; end% End of the loop over the mh-blocks.