initializing mwArray as "empty"

8 ビュー (過去 30 日間)
Ulrich
Ulrich 2016 年 10 月 21 日
回答済み: Adam 2016 年 10 月 24 日
Hi,
i have a problem when using a specific Matlab .dll in C++. I need to have an empty mwArray variable (empty as representing [] in MATLAB) to be able to call it. I just do not know how to create an empty mwArray.
Any idea would be greatly appreciated, tanks in advance. ...
  4 件のコメント
Jan
Jan 2016 年 10 月 24 日
@Adam: Please post answers in the answers section, such that the OP can mark the problem as solved.
Adam
Adam 2016 年 10 月 24 日
I tend to only post as an answer if I am confident it is an actual answer. In this case I just took a quick look in the help and threw that out as a query without having tried it out for myself.

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

採用された回答

Adam
Adam 2016 年 10 月 24 日
The default constructor
myArray( );
should do this.

その他の回答 (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