Matlab Sparse Matrix
converted to
Matrix Market File

MSM_TO_MM is 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:

HB_TO_MM, is a MATLAB program which converts a sparse matrix from Harwell-Boeing to Matrix Market format.

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.

MSM_TO_HB, a MATLAB program which writes a MATLAB sparse matrix to a Harwell Boeing (HB) file;

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


  1. the Matrix Market web site.
  2. Ronald Boisvert, Roldan Pozo, Karin Remington,
    The Matrix Market Exchange Formats: Initial Design,
    National Institute of Standards and Technology,
    NISTIR 5935, December 1996,
    Available online at ../../pdf/mm_format.pdf

Source Code:

Examples and Tests:

You can go up one level to the MATLAB source codes.

Last revised on 02 November 2008.