Wait for a condition to be met...
Ältere Kommentare anzeigen
Dear community, apologies for asking a simple and multiple-times-asked question...
[BatchAbf.x,~]=ginput(nIn);
% some lines are executed...
waitfor(numel(BatchAbf.x)=nIn);
% do not execute from here down until above condition is met
I know i can get away with pause and press enter, but this solution is more suited.
Any help greatly appreciated
2 Kommentare
KL
am 21 Okt. 2017
How and when does BatchAbf.x get nIn elements?
Calvin Hobbes
am 21 Okt. 2017
Bearbeitet: Calvin Hobbes
am 21 Okt. 2017
Akzeptierte Antwort
Weitere Antworten (2)
Calvin Hobbes
am 21 Okt. 2017
Bearbeitet: Calvin Hobbes
am 21 Okt. 2017
Kategorien
Mehr zu Geographic Plots 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!