I cannt load the HP's instrument driver DLL hpe1432.dll in matlab2007a
Show older comments
my command line is:
>loadlibrary('hpe1432', 'hpe1432.h')
but an error tip appears, which somehow likes:
there was an error loading the library "mypath\hpe1432.dll" Error using ==>loaddefinelibrary
the mypath is the path in which the files hpe14332.dll and hpe1432.h are located, and the path has been added to the ML's search path according to File | Set Path. Additionally, the function loadlibrary() works well with the files shrlibsample.mexw32 and shrlibsample.h in the directory matlabroot\extern\examples\shrlib
1 Comment
Walter Roberson
on 5 Mar 2013
Edited: Walter Roberson
on 5 Mar 2013
Is the dll for 32 bit code or for 64 bit code?
Your reference to success with shrlibsample.mexw32 suggests you are using 32 bit MATLAB, but please confirm that.
Answers (1)
Categories
Find more on MATLAB Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!