Compresses the memory footprint occupied by a matrix.
Remark: The compression is required when you handle a large matrix onto which several calculations have been made. If this matrix contains several null columns and/or rows, the compression is used to significantly reduce the memory footprint of matrix.
// Compress a matrix
MatStack("MyMatrix")
Syntax
<Matrix>: Character string
Name of matrix to compress, defined by MatCreate.
Remarks
Existence of matrix to compress
The matrix existence is not checked. To check the matrix existence, use
MatExist.
Caution:
MatStack returns no result. To find out whether errors have been generated by the compression, use
MatError on this matrix. To get more details on the error, use
ErrorInfo with the
errMessage constant.
Business / UI classification: Neutral code