필터 지우기
필터 지우기

Multiple instances of MATLAB

조회 수: 6 (최근 30일)
Eric Schols
Eric Schols 2016년 2월 10일
댓글: Eric Schols 2016년 2월 10일
How does MATLAB deal with working in the same file in different instances of MATLAB?
Say I open it twice and alter some file in one instance, do the changes show in the other instance? What if I change the same file in both instances, which changes will I see? Or will this result in conflicted copies?
Cheers.

답변 (1개)

Jan
Jan 2016년 2월 10일
You can simply try it.
The changes in the files are written to the disk, if you save the file. You can set a flag in the preferences, to update files opened in the editor automatically, if they are changed on the disk.
But editing on a file from different applications is a source of confusion. I suggest to avoid this strictly. While Matlab works consistently with such situations, the human in front of the computer tends to get nervous.
  댓글 수: 1
Eric Schols
Eric Schols 2016년 2월 10일
Thanks. It was indeed mostly out of curiosity that I asked, normally I have at most one instance opened :)
I agree with your first sentence. But since I already had two instances running scripts, I didn't want to bother opening additional onces and try myself. Anyway, thank you for your answer. :)

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

카테고리

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