フィルターのクリア

Can I use Matlab NE Builder to compile a matlab class to dll?

1 回表示 (過去 30 日間)
Donna
Donna 2012 年 8 月 16 日
I have managed to successfully compile a matlab class to a dll using NE Builder but when I try to use the dll the only method available is the constructor.
Am I doing something it is not designed for, ie is NE Builder only designed for compiling functions not classes?

回答 (1 件)

Titus Edelhofer
Titus Edelhofer 2012 年 8 月 16 日
Hi,
yes, that's right. You can't compile a class in order to have it as a class in .NET, because if you would try to pass the object across the MATLAB-.NET boundary it would fail anyway. In your code of course you can use object, but not the way you try...
Titus

カテゴリ

Help Center および File ExchangeMATLAB Compiler SDK についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by