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!