Help with reading the functions inside a library
Ältere Kommentare anzeigen
Is there a reason why the code below cannot find the dll that IS in the directory as shown (there is also the h file with the same name)
[file,path] = uigetfile('C:\Users\Public\PI\PI_Programming_Files_PI_GCS2_DLL\*.dll');
libname=fullfile(path,file)
%Remove the extension
[path,name,ext] = fileparts(libname)
%Rebuild without Ext
libname=fullfile(path,name)
hname=fullfile(path,name) %Dont need this if same name
loadlibrary('libname')
libfunctionsview libname
Error using loadlibrary
Could not find file libname.h.
Error in loadlibrary
(here are the library and header files)

Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Floating-Point to Fixed-Point Conversion finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!