cannot overwrite an existing file
6 ビュー (過去 30 日間)
古いコメントを表示
If I create any new file, let's call it "test". Save it and then open it. It is fine, and works. Then when I try to save it, I get the message "test.m already exists. Do you want to replace it?" I choose "yes".
Then the message appears, with a big red X saying "test.m is already open in the MATLAB editor. To overwrite the file, close the original first"
This also happens to any existing file that I choose to open. None can be saved after opening.
How can I wipe out this error without uninstalling and re-installing my MATLAB software?
Bob
3 件のコメント
Image Analyst
2012 年 1 月 10 日
I don't think hitting control z after clicking the save icon would foul things up. It probably gets saved way before you can even get your fingers on the control and z keys. But anyway I don't think anyone will be giving you any more help because it sounds like you figured out that it was just some weird flukey thing that probably won't happen again, especially since you think you know what caused it and thus how to avoid it. If it's reproducible via a normal sequence of operations, then let us know, otherwise I consider it a non-issue anymore.
採用された回答
Robert Cumming
2012 年 1 月 9 日
this can happen when you have the same file open in the editor twice - sanity check that is not the case - otherwise Matlab must "think" that the file is open twice....
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!