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.

Respuestas (1)

Walter Roberson
Walter Roberson el 7 de Abr. de 2026 a las 20:06
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.

Categorías

Más información sobre MATLAB Compiler SDK en Centro de ayuda y File Exchange.

Productos

Versión

R2025b

Preguntada:

el 7 de Abr. de 2026 a las 15:49

Respondida:

el 7 de Abr. de 2026 a las 20:06

Community Treasure Hunt

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

Start Hunting!

Translated by