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

4 vues (au cours des 30 derniers jours)
Thiyagarajan
Thiyagarajan le 6 Mai 2015
Commenté : Thiyagarajan le 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.

Réponse acceptée

James Tursa
James Tursa le 6 Mai 2015
In the calllib statement, try using 'toupcam' as the library name instead of 'toupcam.LIB'.
  1 commentaire
Thiyagarajan
Thiyagarajan le 7 Mai 2015
Thankyou James Tursa, this works perfect.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur C Shared Library Integration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by