Saveas causing "MATLAB has encountered an internal error and needs to close" error.
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Ankitha Kollegal Arjun
on 28 Jul 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.
0 Comments
See Also
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!