How to return a uint64_t from a mex function?
3 views (last 30 days)
I want to assign to plhs a scalar of type uint64_t.
Not sure what function to call.
e.g. if I have
and I want to return y to Matlab
plhs = mxCreateDoubleScalar(y);
But this is not the right call as it is not a double. How to create a uint64_t variable in the mex function? in there another mxCreate...