How can I run C# code in MATLAB?

조회 수: 40 (최근 30일)
Gauri Gupta
Gauri Gupta 2018년 8월 8일
댓글: Shahidul Asif 2021년 3월 8일
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일
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!
  댓글 수: 1
Shahidul Asif
Shahidul Asif 2021년 3월 8일
How do I expose the codes as you mentioned?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 .NET Client Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by