フィルターのクリア

Matlab crashing when saving a workspace

8 ビュー (過去 30 日間)
kk
kk 2020 年 6 月 10 日
編集済み: Angshuman Podder 2022 年 11 月 25 日
Hello,
I'm having an annoying problem. Matlab sometimes crashes when I'm saving the current workspace. This problem seems to happen when I have a cell array either of cfits, or of a structure containing cfits in my workspace. Sometimes the save is successful, and sometimes when the crash happens when Matlab is overwriting the cell array, the current workspace is partly rewritten with empty variables and the data are completely lost unless I've made a backup earlier. When the workspace saves successfully, it can be a bit larger, but I would not think that a 30MB file should cause problems. Can I be doing something wrong or is there any workaround except for not using the cell arrays? (I'm using Matlab 2015b, but I had the same problem also in an earlier version, I think 2014.)
Any advice is highly appreciated.
  1 件のコメント
Angshuman Podder
Angshuman Podder 2022 年 11 月 25 日
編集済み: Angshuman Podder 2022 年 11 月 25 日
Hi, I had the same problem. Try this: Please check if you have any variable name same as any inherent MATLAB function name which could cause a conflict. For example, you cannot have any variable name as 'save' or 'error'.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeWhos についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by