How to stop a script from executing
이전 댓글 표시
This is a basic question but I am wondering how you can halt a script from executing mid script.
채택된 답변
추가 답변 (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
카테고리
도움말 센터 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!