Lsqcurvefit causes BSOD on Windows

I found that depending on the data lsqcurvefit often causes BSOD on Windows 7. What can be done to fix this?

Answers (1)

Bhanu Araveti
Bhanu Araveti on 22 Oct 2019
Hi. This usually occurs due to graphic card driver issues.
Check if you can reproduce the issue if you do any of the following:
a) Switch to OpenGL software by typing the following commands in the command prompt:
opengl software
opengl('save', 'software')
b) Change the default figure renderer to 'painters':
set(groot, 'defaultFigureRenderer', 'Painters')
If the issue is resolved by these steps, this means that the graphics card driver requires updating.

This question is closed.

Products

Asked:

on 25 Jul 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!