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

4 Ansichten (letzte 30 Tage)
Thiyagarajan
Thiyagarajan am 6 Mai 2015
Kommentiert: Thiyagarajan am 7 Mai 2015
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.

Akzeptierte Antwort

James Tursa
James Tursa am 6 Mai 2015
In the calllib statement, try using 'toupcam' as the library name instead of 'toupcam.LIB'.

Weitere Antworten (0)

Kategorien

Mehr zu C Shared Library Integration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by