Loadlibrary failed with Error 87: The parameter is incorrect

Dear Matlab support team,
Since I recently upgraded to R2020b, I keep getting the error message "Loadlibrary failed with Error 87: The parameter is incorrect", and then Matlab crashes. With R2020b and R2020a, this happens immediately when I start Matlab. With the much older R2014a, I get the same error message soon after starting an m-file. Prior to upgrading to R2020b, everything worked perfectly fine with R2020a and all earlier releases.

Antworten (2)

Jeffrey Daniels
Jeffrey Daniels am 9 Sep. 2021

2 Stimmen

I was able to resolve this issue by running the command opengl('save','software') BEFORE clicking OK on the error dialog window.
Prabhanjan Mentla
Prabhanjan Mentla am 27 Nov. 2020

0 Stimmen

Hi,
This error is not specific to MATLAB and it could be due to machine’s graphic card configuration.
This link may help you to resolve this kind of error.
Hope this helps.

3 Kommentare

Your answer was helpful. But,
How can I access "This link"?
minh
minh am 29 Apr. 2026 um 16:11
I had the same error with MatLab 2023a and I was able to fix it using the command opengl('save','software') Thanks

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 24 Nov. 2020

Kommentiert:

am 29 Apr. 2026 um 16:11

Community Treasure Hunt

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

Start Hunting!

Translated by