Multiple instances of MATLAB

1 次查看(过去 30 天)
Eric Schols
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 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by