return mwArray from cpp mex function

10 ビュー (過去 30 日間)
Ulrich
Ulrich 2016 年 10 月 21 日
コメント済み: Mahesh Pai 2016 年 10 月 28 日
Hi, i think this is quite a simple problem, but anyway, i could not find quickly via documentation or google. I have C++ code where a mwArray of mxSTRUCT_CLASS is set up.
I need to find a way to get that mwArray into the Matlab Workspace now or maybe a way to convert that into a mxArray to get it into the Matlab Workspace.
That's all ... i guess a hint where to find that in the documentation would be a very helpful one.
Anyway, thanks for your interest and kind regards,
Ulrich
  1 件のコメント
Mahesh Pai
Mahesh Pai 2016 年 10 月 28 日
Could you provide more detailed information on your use-case and workflow?
The following link explains "MATLAB Engine API for C, C++, and Fortran". Please have at this and see if this satisfies your use case.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeDeploy to C++ Applications Using mwArray API (C++03) についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by