initializing mwArray as "empty"
显示 更早的评论
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 个评论
Does the default constructor not do this? The help states:
mwArray()
Description
Construct empty array of type mxDOUBLE_CLASS.
Ulrich
2016-10-24
Jan
2016-10-24
@Adam: Please post answers in the answers section, such that the OP can mark the problem as solved.
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File 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!