waitbars in R2015b
Ältere Kommentare anzeigen
I have a GUIDE figure with a waitbar that runs inside the main figure under R2014a, but in R2015b here is what is happening:
% waitbar specification
f1 = findobj('Tag','MonteFig');
wb = waitbar(0,'Simulating ...');
c = get(wb,'Children'); % make the waitbar part of the current figure
set(c,'Parent',f1); % set the position of the waitbar on current figure
% Simulation
t = 2; g(1) = 0; % initialization
for i = 1:K,
waitbar(i/K,wb); ...
"Simulating ..." appears in the main figure, but the waitbar opens its own figure and runs without any errors. Not sure how to fix it and cannot see on my search on the internet what it is I could do different to make it work like it does on R2014a.
1 Kommentar
Oliver Chikumbo
am 14 Mär. 2016
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 11 Okt. 2015
0 Stimmen
The handle visibility of the children might be 'off' or 'callback' so you might not see them when you get() the children of the waitbar figure.
2 Kommentare
Oliver Chikumbo
am 11 Okt. 2015
Walter Roberson
am 12 Okt. 2015
I do not have that version to check with.
Kategorien
Mehr zu App Building finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!