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

조회 수: 4 (최근 30일)
Thiyagarajan
Thiyagarajan 2015년 5월 6일
댓글: Thiyagarajan 2015년 5월 7일
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일
In the calllib statement, try using 'toupcam' as the library name instead of 'toupcam.LIB'.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by