Is it possible to use the MATLAB .NET interface to load a MATLAB Builder NE generated .NET assembly?

조회 수: 8 (최근 30일)
I have created a .NET assembly (DLL) by using the .NET assembly target of MATLAB Builder NE using the DEPLOYTOOL or MCC functions. I would like to load this library to the MATLAB workspace and call its functions. I am able to use NET.addAssembly to load the assembly and view its classes and namespace, but I am unable to instantiate any class objects from it. For example, I may call a class constructor, but an error will result.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2012년 12월 11일
This change has been incorporated into the documentation in Release 2012b (R2012b). For previous releases, read below for any additional information:
It is not possible to load a .NET assembly in MATLAB that was generated by MATLAB Builder NE. There are no workarounds.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Getting Started with Microsoft .NET에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by