How can I run C# code in MATLAB?
43 ビュー (過去 30 日間)
古いコメントを表示
I have a simple C# programme written in Visual Studios and I would like to call it and run it from MATLAB.
0 件のコメント
回答 (1 件)
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.
Hope this helps!
参考
カテゴリ
Help Center および File Exchange で .NET Client Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!