Can i use Matlab OOP and still use Compiler SDK
1 回表示 (過去 30 日間)
古いコメントを表示
I want to redo all my algorithm code to Matlab OOP. Currently my code has a single entry point from the commercial application and it is compiled into a .NET assembly. If I maintain the same Matlab interface to the calling program can I change all the underlying code to Matlab OOP without messing anything up?
0 件のコメント
回答 (1 件)
Walter Roberson
2018 年 3 月 5 日
"MATLAB Compiler supports the full MATLAB language including objects, most MATLAB toolboxes, and user-developed user interfaces."
"MATLAB Compiler SDK™ extends the functionality of MATLAB Compiler™ to let you build C/C++ shared libraries, Microsoft® .NET assemblies, Java® classes, and Python® packages from MATLAB® programs. These components can be integrated with custom applications and then deployed to desktop, web, and enterprise systems."
So, yes, you should be fine with Compiler SDK as long as you do not use one of the functions that cannot be compiled anyhow.
2 件のコメント
Walter Roberson
2018 年 3 月 5 日
My understanding is that the constructor need to be called from a regular function for the purpose of compilation.
It should pick up all the needed files from the @ directories on the MATLAB path.
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler SDK についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!