MATLAB Answers

Plot: LoadLibrary failed with error 87

247 views (last 30 days)
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.)
  10 Comments
Sajid Raza
Sajid Raza on 26 Jun 2021
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?

Sign in to comment.

More Answers (1)

Kandhukuri Arun
Kandhukuri Arun on 5 Feb 2020
function p = prob_table(x)
p = hist(x, 1:max(x))/numel(x);
end

Community Treasure Hunt

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

Start Hunting!