Plot: LoadLibrary failed with error 87

I suddenly started to have the error "LoadLibrary failed with error 87: the parameter is incorrect" every time i try to use plot or scatterplot. I tried many way to solve it but no way.
I'm using Windows 8.1 with matlab 2015a and I started to have the same problem also with Matlab 2014a.
Please help.

 Accepted Answer

Emmanuel Abbe
Emmanuel Abbe on 14 Mar 2015
Edited: Walter Roberson on 2 Dec 2020
I solved the problem on my own. For those having a ati graphic card, the problem is related (at least in my case) to the file "atig6pxx.dll" in windir/system32 (Our you can search for it).
I've found the solution at this link https://www.youtube.com/watch?v=D0lqBQbPVoo and solved the problem by renaming "atig6pxx.dll" into "atig6pxx.dll.bak" (you need to change the extention of the file.)

11 Comments

Worked for me. I was getting that error when starting Matlab (never had problems before, perhpas it was because I was windows Remote Desktop connection).
Worked for me too
Helped me to remote connect to COMSOL. Thanks
Worked for me too! I am using R2015a on Windows 10 with ATI Raedon HD3450.
Had the same problem wiht even Matlab2020a. It solved the problem. Thanks.
work well thanks
Exactlly! Thank you very much.
It worked for me on my sucks laptop Inspirion 14 3441 which has a AMD A4-6210 APU with AMD Radeon R3 Graphics (Haha its sucks I know)
Yes, it works ! Thanks a lot
Worked for me as well! Thank you very much!
I am having this issue while i am doing remote desktop connection. Do i need to change the name to atig6pxx.dll.bak on my own home computer or on remote office computer?
Mahdi
Mahdi on 12 Aug 2024
Edited: Mahdi on 12 Aug 2024
Thanks alot @Emmanuel Abbe. I alread had the both files and just needed to remove the "atig6pxx.dll" form system32 and now it works! BTW, I amd working with Matlab 2024a.

Sign in to comment.

More Answers (1)

function p = prob_table(x)
p = hist(x, 1:max(x))/numel(x);
end

Categories

Products

Asked:

on 14 Mar 2015

Edited:

on 12 Aug 2024

Community Treasure Hunt

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

Start Hunting!