Error using calllib, unable to load C/C++ libraries
4 次查看(过去 30 天)
显示 更早的评论
I'm using following code to load C++ library. After successful load of DLL file , unable to access libray file using calllib
loadlibrary('toupcam.dll','toupcam.h') libfunctions toupcam
Functions in library toupcam:
Toupcam_AwbOnePush....
calllib('toupcam.LIB','Toupcam_AwbOnePush')
"Error using calllib Library was not found"
please help me to resolve this error.
0 个评论
采纳的回答
James Tursa
2015-5-6
In the calllib statement, try using 'toupcam' as the library name instead of 'toupcam.LIB'.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C Shared Library Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!