Matlab doesn't seem to open scripts.

55 ビュー (過去 30 日間)
Jacob Cram
Jacob Cram 2015 年 1 月 22 日
コメント済み: Steven Lord 2023 年 5 月 19 日
Whether I try to open a script with the open menu or from the command window "open script.m" nothing seems to happen. There is no error message, the command history suggests I did open the script, but it isn't anywhere to be seen. There is no new window that comes up, nothing shows up in the main matlab window. I didn't have this problem this morning, but then I tried docking a script into the main matlab window and now I can't open anything.

回答 (1 件)

Swaroopa
Swaroopa 2022 年 8 月 22 日
Sometimes MATLAB might get frozen when lot of data is there in cache. In that case, restart the system and again try opening it.
Hope this helps.
  2 件のコメント
György Fekete
György Fekete 2023 年 5 月 18 日
i got the same effect, after loading and running matrix(copy) intensive scripts, the 3rd does not load, just stuck into an infinet loop.
After reading the previous comment, i use clear after running a script and before loading the next, and it seems to work. But MatLab s memory/variable handling sucks, anyway.
Steven Lord
Steven Lord 2023 年 5 月 19 日
How are you trying to "load" 'the 3rd'? What command are you using?
Is it possible that the script you're calling immediately before trying to load defines a variable with the same name as the command you're trying to use to open the file (as an example, if you're using "edit <filename>" does that script create a variable edit?)

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by