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

3 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Ankitha Kollegal Arjun
Ankitha Kollegal Arjun il 28 Lug 2017
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.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by