Is it possible to create a UI around MATLAB functions in C++?

1 回表示 (過去 30 日間)
Ivan Chowdhury
Ivan Chowdhury 2018 年 8 月 31 日
コメント済み: Titus Edelhofer 2018 年 8 月 31 日
Hello. I created a bunch of MATLAB functions revolving around experimenting with vectors - Gram Schmidt Orthogonalization, plotting a matrix of column vectors, displaying matrix properties, projecting a vector onto a subspace, etc.. I'm wondering if it's possible to create an app UI in C++ (or any other high-level programming language) that calls each of the MATLAB functions and displays their outputs? Are there resources or guides I could use to achieve this? Thank you.

採用された回答

Titus Edelhofer
Titus Edelhofer 2018 年 8 月 31 日
Hi Ivan,
there are several possibilities: you can use MATLAB Compiler SDK to create a shared library that you can link to your C++ application. Another possibility is to use the MATLAB engine approach (<https://uk.mathworks.com/help/matlab/Cpp-api.html see doc>). Advantage: you don't need the Compiler SDK (in case you haven't got access to it), disadvantage though: if you want to share your code/application with others, the other needs to have MATLAB installed as well.
Titus
  1 件のコメント
Titus Edelhofer
Titus Edelhofer 2018 年 8 月 31 日
Another approach of course would be to use MATLAB as your high-level programming language to create the UI as well :).

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeC Shared Library Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by