Loadlibrary failed with Error 87: The parameter is incorrect

조회 수: 155(최근 30일)
Tristan Kremp
Tristan Kremp 2020년 11월 24일
답변: Jeffrey Daniels 2021년 9월 9일
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.


Prabhanjan Mentla
Prabhanjan Mentla 2020년 11월 27일
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.

Jeffrey Daniels
Jeffrey Daniels 2021년 9월 9일
I was able to resolve this issue by running the command opengl('save','software') BEFORE clicking OK on the error dialog window.

Community Treasure Hunt

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

Start Hunting!

Translated by