Error using calllib, unable to load C/C++ libraries

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.

 채택된 답변

James Tursa
James Tursa 2015년 5월 6일

1 개 추천

In the calllib statement, try using 'toupcam' as the library name instead of 'toupcam.LIB'.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Call C from MATLAB에 대해 자세히 알아보기

질문:

2015년 5월 6일

댓글:

2015년 5월 7일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by