Is it possible to use the MATLAB .NET interface to load a .NET assembly created with MATLAB Compiler SDK?

6 views (last 30 days)
I have created a .NET assembly (DLL) with MATLAB Compiler SDK. I would like to load this library to the MATLAB workspace and call its functions. I would like to use NET.addAssembly to load the assembly. Is this supported?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Mar 2025
Edited: MathWorks Support Team on 18 Mar 2025
NET.addAssembly does not support assemblies generated by the MATLAB Compiler SDK™ product.
The limitation is stated in documentation NET.addAssembly.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!