Commit 53c9c40e authored by hbristow's avatar hbristow

started MxArray wrapper around mxArray class

parent fc519aa3
......@@ -46,7 +46,7 @@ void mexFunction(int nlhs, mxArray* plhs[],
{%- if noutputs %}
// push the outputs back to matlab
for (size_t n = 0; n < nlhs; ++n) {
plhs[n] = outputs[n].toMxArray();
plhs[n] = outputs[n].toMxArray().releaseOwnership();
}
{% endif %}
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment