Exit code from program
이전 댓글 표시
What is the code that terminates the program and stop it?
채택된 답변
추가 답변 (1개)
Walter Roberson
2016년 12월 25일
need_to_finish = false;
while ( )
while ( )
if ( )
% statements
%increment counter
break
else
% here i want to break out without return to any while
above(finish program)
need_to_finish = true;
end
if need_to_finish
break;
end
end
if need_to_finish
break;
end
%%increment counter
end
카테고리
도움말 센터 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!