loop pause continue manipulator

版本 1.0.0 (1.6 KB) 作者: raym
This small panel can pause during a loop by switch the button anytime. If switch to pause, next loop will pause,, until switch continue.
0.0 次下载
更新时间 2022/3/4

查看许可证

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