From 90266c0bfcc7b912b89c50d8057773ba1b8ed67c Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Thu, 28 Dec 2023 14:52:08 +0100
Subject: [PATCH] gsa: decrease waitbar refresh frequency

---
 matlab/+identification/run.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/+identification/run.m b/matlab/+identification/run.m
index a65204dd67..49be5e4821 100644
--- a/matlab/+identification/run.m
+++ b/matlab/+identification/run.m
@@ -736,7 +736,7 @@ if iload <=0
                 end
                 run_index = 0; % reset index
             end
-            if SampleSize > 1
+            if SampleSize > 1 && mod(iteration,3)
                 dyn_waitbar(iteration/SampleSize, h, ['MC identification checks ', int2str(iteration), '/', int2str(SampleSize)]);
             end
         end
-- 
GitLab