フィルターのクリア

How do I run a MATLAB script or function from my C# application in Visual Studio 2015 (NOT Visual Basic)

1 回表示 (過去 30 日間)
My goal is to click a button on my C# application and run the MATLAB code and display the results (graphs, figures etc.).
Also: I can't find the COM tab when I click on "Add Reference"
I am using a blank universal windows app (and don't want to start all over with a WPF etc.). I have MATLAB 2016b installed.
Thanks

回答 (1 件)

Guillaume
Guillaume 2017 年 3 月 14 日
"and don't want to start all over with a WPF" You're in trouble, then!
The whole idea of UWP is that it runs on any platform (Phone, XBox, Computer, etc.), so it can't use APIs such as COM that do not exist on all of these platform.
See also this stackoverflow post which discusses a similar question.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by