call dlls in for compiled application
Mostrar comentarios más antiguos
Hi all
i built a app with app designer. I get an error "No class lib..\dev\bin\64-bit\nilibddc.dll." after install the app
One of the function i need to call the dll provided by NI http://www.ni.com/product-documentation/3727/en/#toc4.
Relative path is used in the function ".\dev\bin\64-bit\nilibddc.dll'"
I package the app and install in another PC. The GUI can not find the dll path and load the dlls.
Is something wrone here do define the dll path.
Or i do not coeectly take care of nilibddc_thunk_pcwin64.dll file?
Thanks a lot
libname = 'nilibddc';
NI_TDM_DLL_Path = '.\dev\bin\64-bit\nilibddc.dll';
NI_TDM_H_Path = '.\dev\include\64-bit\nilibddc_m.h';
if ~libisloaded(NI_TDM_DLL_Path)
% loadlibrary(NI_TDM_DLL_Path,NI_TDM_H_Path);
loadlibrary(NI_TDM_DLL_Path, @mylibraryfile);
libfunctions(NI_TDM_DLL_Path,'-full');
end
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!