Generating .NET Code for usage without Matlab Runtime

I have Matlab Coder, which allows to generate C++ code from my Matlab functions, classes, etc. Creating DLL files is also possible. However, as far as I know, there's no way to generate C# code with Coder. Is there a general way to directly generate C#/.NET files from Matlab that can then be used in the .NET Framework without the Matlab Runtime?
As far as I understand, the Matlab Compiler SDK doesn't offer this functionality. It allows for generating C++ or NET-applications, but these generated apps require the Matlab Runtime.

回答(1 个)

Sorry, there is no way to generate C# code at present.
I have no information as to whether Mathworks is working on a C# code generator.

类别

帮助中心File Exchange 中查找有关 MATLAB Compiler SDK 的更多信息

产品

版本

R2025b

提问:

2026-4-7,15:49

回答:

2026-4-7,20:06

Community Treasure Hunt

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

Start Hunting!

Translated by