필터 지우기
필터 지우기

How to stop a script from executing

조회 수: 37 (최근 30일)
Chris
Chris 2011년 8월 16일
댓글: Hernan Larriva 2023년 4월 3일
This is a basic question but I am wondering how you can halt a script from executing mid script.

채택된 답변

bym
bym 2011년 8월 16일
Ctrl-c (control + c keys)
  댓글 수: 4
Hayden Mann
Hayden Mann 2018년 12월 13일
Make sure you click on the command window then press Ctrl + c.
Hernan Larriva
Hernan Larriva 2023년 4월 3일
thank very much!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Paulo Silva
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
Shubha
Shubha 2014년 1월 8일
this is cool! :)
sangmin kim
sangmin kim 2022년 4월 22일
this is so cool!!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by