필터 지우기
필터 지우기

Modify a running script, will it affect the running process?

조회 수: 14 (최근 30일)
Mi
Mi 2014년 12월 3일
답변: Mi 2014년 12월 3일
Hello everyone,
I was running a script. Then I accidentally modified the .m file in another Matlab window. Will my running process be affected? Thank you.

채택된 답변

Adam
Adam 2014년 12월 3일
Your running script should be unaffected by a change I think. I just did a very simple test though so I can't guarantee for any script, it may depend what you edited.
I created a script that prints a number to the screen, pauses then prints the number again.
I ran it, edited the script during the pause to assign a different value to the variable (after the pause instruction), but it still printed out the previous value again the second time rather than the one I edited in during its pause.

추가 답변 (1개)

Mi
Mi 2014년 12월 3일
Thanks Adam, for your time to even did the test
In the command window I still see 'Busy' appears at the bottom. I think you're right. My script is nested loops though.
I've run this for 2 days so I'd be really frustrated if anything goes wrong.

카테고리

Help CenterFile Exchange에서 Debugging and Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by