Do I see that correctly that currently, MxArray doesn't support multi-dimensional arrays? My use case is that I want to return a m x n x 3 numeric matrix from C++ to Matlab (more specifically, a 3-channel image). I think what's needed is adding functionality that calls mxCreateNumericArray to MxArray. For example, I'd start by adding a constructor
Hi!
Do I see that correctly that currently,
MxArray
doesn't support multi-dimensional arrays? My use case is that I want to return am x n x 3
numeric matrix from C++ to Matlab (more specifically, a 3-channel image). I think what's needed is adding functionality that calls mxCreateNumericArray toMxArray
. For example, I'd start by adding a constructorIf that's all correct, I would go ahead and implement it, and if it goes well, I'm very happy to submit a PR?
Thanks!