Interface Matlab Project with C++ Project
古いコメントを表示
Hello,
I'm a student in computer ingeneering . I have a simulated electric system coded in matlab , and a controler coded in C++ . ( SMART GRID SYSTEM ). I need a way for the controler to communicate with the matlab simulated environnement.
I have 3 ways to do so :
- Use Matlab Compiler to create a DLL/shared C++ library.
- Use Matlab Coder to translate the matlab code into C++ code.
- Use Matlab Engine to make matlab and the C++ program communicate with each other.
But i have some questions:
- about (1.) Does matlab compiler compile Object-Oriented Matlab project ?
- about (2.) Does matlab coder translate Object-Oriented Matlab project ?
- about (3.) Is it possible to access all informations in matlab from C++ code (i.e. with the Matlab Engine)?
- What are the limits of matlab Compiler and matlab Coder ?
採用された回答
その他の回答 (1 件)
Gueniat Patrice
2014 年 2 月 27 日
0 投票
1 件のコメント
Jacob Halbrooks
2014 年 2 月 27 日
編集済み: Jacob Halbrooks
2014 年 2 月 27 日
You can use MATLAB Engine from C++ and run scripts and projects as well as put data and get data into/from MATLAB.
カテゴリ
ヘルプ センター および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!