*! version 0.8 15may2012
help mat2do (Stas Kolenikov's webpage)

Title

mat2do -- Save Stata matrix as a do-file

Syntax

mat2do matname using filename
[, options]

replace overwrite the existing file

append add to the existing file

list add matrix list command to the end of the do-file

type list the matrix and the resulting do-file

notimestamp omit the time stamp at the header of the file

Description

mat2do stores the values and the attributes (row and column names)
of a Stata matrix as a do-file. By running this do-file, the matrix can be fully
reproduced. The names of the matrix and the do-file are required.

Author

Stanislav Kolenikov

Senior Scientist

Abt Associates

skolenik at gmail dot com

Also see

matrix rownames, mata matsave