How can I run C# code in MATLAB?

I have a simple C# programme written in Visual Studios and I would like to call it and run it from MATLAB.

답변 (1개)

Lipi Vora
Lipi Vora 2018년 8월 10일
편집: Lipi Vora 2018년 8월 10일

0 개 추천

I understand that you would like to call your C# program from MATLAB.
To do so, you will have to first expose your C# code as a .NET library. Once this is done, you can call the .NET libraries from MATLAB using NET.addAssembly.
Here is the link to further documentation for using .NET libraries in MATLAB.
Hope this helps!

카테고리

태그

질문:

2018년 8월 8일

댓글:

2021년 3월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by