How to set continue function?
이전 댓글 표시
What the function that i need to set code-step which will decide wheter my coding continue to run or stop.
i want create a code after rows named 'checkperiod'. If the result of checkperiod is true(1), i want it to stop my running code and send me a message "Make the structure bigger" and this message can be string-variable. If the resut of checkperiod is false(0), then let it continue but still send me the message by string variable that contains "fullfill".
Thank for attention

댓글 수: 1
Dyuman Joshi
2024년 2월 13일
편집: Dyuman Joshi
2024년 2월 13일
The use of logical() in line 157 is redudant. You can remove it.
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Clocks and Timers에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!