Can MATLAB interface with a .NET language such as C#?

2 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2010 年 1 月 22 日
I would like to load .NET assemblies into MATLAB, directly call into the Common Language Runtime (CLR) to use Microsoft .NET code to access my existing solutions, and have MATLAB expose its classes as .NET classes.

採用された回答

MathWorks Support Team
MathWorks Support Team 2010 年 1 月 22 日
This enhancement has been incorporated in Release 2009a (R2009a). For previous product releases, read below for any possible workarounds:
The ability to interface with a .NET language (such as C#) in the manner of the COM Automation or Generic DLL interface is not available in MATLAB.
To work around this issue, you may be able to integrate your MATLAB code into a larger .NET program using the MATLAB Compiler and Builder for .NET:
<http://www.mathworks.com/products/netbuilder/>
<http://www.mathworks.com/products/compiler/>
Alternatively, it is possible to make an ActiveX wrapper around your .NET assembly and expose its methods to MATLAB or any other COM compliant client. Examples can be found on the web by searching for different combinations of the keywords COM, wrapper, ActiveX, assembly.

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2006b

Community Treasure Hunt

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

Start Hunting!

Translated by