call dlls in for compiled application
古いコメントを表示
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
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!