mm_to_msm, a MATLAB code which reads the information stored in a Matrix Market file, and sets it up as a MATLAB sparse matrix.


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


mm_to_msm is available in a MATLAB version.

Related Data and Programs:

dlap, a data directory which contains examples of DLAP files, a sparse matrix file format used by DLAP;

mm, a data directory which describes a file format for storing large sparse matrices in files, as well as a web site where many such files can be found.

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


mm_to_st, a MATLAB code which reads the sparse matrix information from an MM Matrix Market file and writes a corresponding ST Sparse Triplet file.

msm_to_mm, a MATLAB code which writes a MATLAB sparse matrix to a Matrix Market file;

st_to_msm, a MATLAB code which reads an ST sparse triplet file and creates a corresponding MATLAB Sparse Matrix.

test_mat, a MATLAB code which defines test matrices.


  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 20 February 2019.