image thumbnail

loop pause continue manipulator

version 1.0.0 (1.61 KB) by 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 Downloads

Updated 4 Mar 2022

View License

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

Cite As

raym (2022). loop pause continue manipulator (https://www.mathworks.com/matlabcentral/fileexchange/107524-loop-pause-continue-manipulator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!