This small panel can pause during a loop by switch the button anytime.
If switch to pause, next loop will pause,, until switch continue.
% =======Demo=========
aStopper = RMD_stopper('myProgramName',{'pause','continue'},2); % 2 means initial status
for i = 1 : 34
while ~aStopper.check;pause(10);continue;end
% your loop here
end
引用
raym (2024). loop pause continue manipulator (https://www.mathworks.com/matlabcentral/fileexchange/107524-loop-pause-continue-manipulator), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2021b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0 |