Saveas causing "MATLAB has encountered an internal error and needs to close" error.

1 回表示 (過去 30 日間)
Artie Sparks
Artie Sparks 2017 年 7 月 25 日
回答済み: Ankitha Kollegal Arjun 2017 年 7 月 28 日
I have a loop that takes data, creates an image with imagesc and then saves that image with the saveas function. The crash seems to to happen randomly. I have attached the crash file. I would very much appreciate help with this.

回答 (1 件)

Ankitha Kollegal Arjun
Ankitha Kollegal Arjun 2017 年 7 月 28 日
It could be an issue with the Nvidia driver being used. From the crash log, I see that you are using driver version 375.39, which is known to cause issues sometimes. Here are the possible workarounds:
1. Upgrade the Nvidia driver to the latest version. Also, version 341.xx in general tend to be good. Alternatively, you could consider downgrading the driver to one of these versions.
2. Launch MATLAB using software opengl rendering. This will override any hardware issues which may be present. To do the same, issue the following command from your terminal:
matlab -softwareopengl
Hope this helps.

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by