Robuta

https://www.mathworks.com/help/matlab/apiref/mxsetnzmax.html mxSetNzmax (C and Fortran) - Set storage space for nonzero elements - MATLAB Pointer to a sparse mxArray. storage spacefortranset