How can I run C# code in MATLAB?
45 views (last 30 days)
Show older comments
I have a simple C# programme written in Visual Studios and I would like to call it and run it from MATLAB.
0 Comments
Answers (1)
Lipi Vora
on 10 Aug 2018
Edited: Lipi Vora
on 10 Aug 2018
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.
Hope this helps!
1 Comment
See Also
Categories
Find more on .NET Client Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!