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

1 次查看(过去 30 天)
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
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 CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by