msm_to_mm, a MATLAB code which accepts a Matlab sparse matrix (MSM) and writes it to a file in the Matrix Market (MM) 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 code which reads and writes sparse linear systems stored in the Matrix Market format.

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


st_to_mm, a MATLAB code 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.