How can I run C# code in MATLAB?

40 次查看(过去 30 天)
Gauri Gupta
Gauri Gupta 2018-8-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!

类别

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