MATLAB: How to initialize an mxArray **

MATLAB Compiler SDKmxaray**

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.

Best Answer

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