I cannt load the HP's instrument driver DLL hpe1432.dll in matlab2007a

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

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.

Sign in to comment.

Answers (1)

I'm not sure the .DLL is for 32bit or 64bit, but it was just the files provided by the HP more than 10 years ago for matlab. may be for 32bit ?

1 Comment

Today i have fixed the problem. I used the Dependen.exe to see the Dll file, and finded the problem. Thank you the same.

Sign in to comment.

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Asked:

on 5 Mar 2013

Community Treasure Hunt

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

Start Hunting!