asdocx: Export from Stata to Word, Excel, LaTeX & HTML Forums asdocx Forum Does the asdocx command leave behind any matrix like in asdoc? Reply To: Does the asdocx command leave behind any matrix like in asdoc?

Dr. Attaullah Shah
Keymaster
Post count: 106

asdocx leaves behind a well-formed Mata matrix. The matrix name is output. Therefore, if you run asdocx with any Stata command, you can directly access the output matrix by typing

mata:output

And yes in the case of the tabstat command, asdocx leaves behind a Stata matrix. This matrix is named C and you can get it and modify it just like any other Stata matrix. So the display this matrix, you can type:

matlist C 

Or make a copy of it

mat A = C