How to Load Multiple dll files that have one header

I have 3 dll files that I want to load and there is a header file that corresponds to all 3. Do I just use the loadlibrary('libName1','libName2', 'libName3', 'headerfile.h')? It's not working so I'm assuming not this.

 採用された回答

Philip Borghesani
Philip Borghesani 2015 年 6 月 26 日

0 投票

You need to call loadlibrary three times. It will be faster if you create a prototype file the first time or even do it once and keep track of the file for all future sessions:
loadlibrary('libname1','header','mfilename','LibPrototype') % do once
loadlibrary('libname#', @LibPrototype) % All future loads look like this

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCall C from MATLAB についてさらに検索

タグ

質問済み:

Vic
2015 年 6 月 25 日

回答済み:

2015 年 6 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by