Robuta

https://in.mathworks.com/help/matlab/apiref/mxsetdimensions.html mxSetDimensions (C) - Modify number of dimensions and size of each dimension - MATLAB mxSetDimensions returns 0 on success, and 1 on failure. cmodifynumber