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 CenterFile Exchange에서 Deploy 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