Multiple instances of MATLAB

2 ビュー (過去 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 Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by