Matlab Sparse Matrix
converted to
Matrix Market File

MSM_TO_MM, a MATLAB library which accepts a Matlab sparse matrix and writes it to a file in the Matrix Market File Format.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


MSM_TO_MM is available in a MATLAB version.

Related Data and Programs:

MM_IO, a MATLAB library which reads and writes sparse linear systems stored in the Matrix Market format.

MM_TO_MSM, a MATLAB program which reads a Matrix Market file defining a sparse matrix, and creates a corresponding MATLAB sparse matrix data structure.


ST_TO_MM, a MATLAB program which converts a sparse matrix file from ST format to MM format (Matrix Market format);


  1. Ronald Boisvert, Roldan Pozo, Karin Remington,
    The Matrix Market Exchange Formats: Initial Design,
    National Institute of Standards and Technology,
    NISTIR 5935, December 1996,

Source Code:

Last revised on 19 February 2019.