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'.
  1 件のコメント
Thiyagarajan
Thiyagarajan 2015 年 5 月 7 日
Thankyou James Tursa, this works perfect.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeC Shared Library Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by