How could I control the width of the bar inside a waitbar in Matlab R2015a?
I just referred to the following question:
waitbar -> length ot the bar figure?
It works perfectly in Matlab R2012b with the solution as the user mentioned, but for R2015a, the 'Waitbar 1' string is placed in the middle, and the percentage bar does not change width at all....
I used the following code:
HWait = waitbar(0,'Waitbar 1', 'Units', 'normalized', 'Position', [0.25 0.4 0.3 0.08]);
set(HWait,'Name','Tests running');
childrenWaitb = get(HWait, 'Children') ;
set(childrenWaitb, 'Position',[10.8000 13.5000 320 9]);