How to convert a c++ file to a matlab coding?

4 ビュー (過去 30 日間)
faseela  t
faseela t 2015 年 11 月 25 日
回答済み: Aiswarya 2022 年 7 月 6 日
Sir,
As a part of my research work I need to convert a c++ code into MATLAB. Please help me .
  1 件のコメント
Walter Roberson
Walter Roberson 2015 年 11 月 25 日
That might be a lot of work, or it might only be a little work . We would need to see the code to get a good idea.
There is no tool that can automatically convert C++ code into MATLAB.
Are you certain that you need to rewrite the C++ code as MATLAB? It is possible to call C++ code from MATLAB.

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

回答 (1 件)

Aiswarya
Aiswarya 2022 年 7 月 6 日
If you want to actually convert C++ code to MATLAB code, then maybe it requires manual conversion.
However, if you just want to call the C++ code from MATLAB, you can create and use a mex file via Matlab Coder . You can use ceval to call the C++ code from matlab. You can refer coder.cinclude and coder.ceval for calling the C++ code.

カテゴリ

Help Center および File ExchangeCall C++ from MATLAB についてさらに検索

Translated by