How to initialize an mxArray **

One of the parameters of the function that was compiled by matlab compiler has an mxArray , how do I set up one? Because the generated output has erroneous values.

 采纳的回答

I think this document would help.
mxArray should be defined as a pointer.
mxArray *a;

1 个评论

Thank you very much, apparently the parameter with the data type of mxArray was the output of the function. Though this part of my source code has been rectified the output of the function still resulted with erroneous output. Does it have to do with the large matrices input? Currently I have a 97320240 x 14 matrix.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB Compiler SDK 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by