initializing mwArray as "empty"

8 Ansichten (letzte 30 Tage)
Ulrich
Ulrich am 21 Okt. 2016
Beantwortet: Adam am 24 Okt. 2016
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 Kommentare
Jan
Jan am 24 Okt. 2016
@Adam: Please post answers in the answers section, such that the OP can mark the problem as solved.
Adam
Adam am 24 Okt. 2016
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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Adam
Adam am 24 Okt. 2016
The default constructor
myArray( );
should do this.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by