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.

Antworten (1)

Walter Roberson
Walter Roberson am 7 Apr. 2026 um 20:06

0 Stimmen

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.

Kategorien

Mehr zu MATLAB Compiler SDK finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2025b

Gefragt:

am 7 Apr. 2026 um 15:49

Beantwortet:

am 7 Apr. 2026 um 20:06

Community Treasure Hunt

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

Start Hunting!

Translated by