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개)

Walter Roberson
Walter Roberson 2026년 4월 7일 20:06

0 개 추천

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