How to stop a script from executing
조회 수: 37 (최근 30일)
이전 댓글 표시
This is a basic question but I am wondering how you can halt a script from executing mid script.
댓글 수: 0
채택된 답변
추가 답변 (1개)
Paulo Silva
2011년 8월 16일
%code
error('Mid script reached, this error message was made on purpose')
%code
Another alternative could be the use of the return function
댓글 수: 2
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!