From b0a093dab2641c7c36bc4c57785f60581a28ca82 Mon Sep 17 00:00:00 2001
From: ratto <ratto@ac1d8469-bf42-47a9-8791-bf33cf982152>
Date: Tue, 9 Jun 2009 10:04:19 +0000
Subject: [PATCH] Minor change for new graph monitoring

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2747 ac1d8469-bf42-47a9-8791-bf33cf982152
---
 matlab/McMCDiagnostics_core.m | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/matlab/McMCDiagnostics_core.m b/matlab/McMCDiagnostics_core.m
index 9827d20566..1dba7e6431 100644
--- a/matlab/McMCDiagnostics_core.m
+++ b/matlab/McMCDiagnostics_core.m
@@ -17,7 +17,12 @@ UDIAG = zeros(NumberOfLines,6,npar-fpar+1);
     if whoiam
 %       keyboard;
       waitbarString = ['Please wait... McMCDiagnostics (' int2str(fpar) 'of' int2str(npar) ')...'];
-      waitbarTitle=['McMCDiagnostics ',Parallel(ThisMatlab).PcName];
+%       waitbarTitle=['McMCDiagnostics ',Parallel(ThisMatlab).PcName];
+      if Parallel(ThisMatlab).Local,
+        waitbarTitle=['Local '];
+      else
+        waitbarTitle=[Parallel(ThisMatlab).PcName];
+      end        
       fMessageStatus(0,whoiam,waitbarString, waitbarTitle, Parallel(ThisMatlab), MasterName, DyMo);
       
     end
-- 
GitLab