MATRIX Subcommand (MCONVERT command)
The MATRIX
subcommand specifies the file for the matrix materials. By default, MATRIX
reads the original matrix from the
active dataset and replaces the active dataset with the converted
matrix.
-
MATRIX
has two keywords,IN
andOUT
. The specification on bothIN
andOUT
is the name of an external file in parentheses or an asterisk (*) to refer to the active dataset (the default). - The actual keyword
MATRIX
is optional. -
IN
andOUT
cannot specify the same external file. -
MATRIX
=IN
cannot be specified unless an active dataset has already been defined. To convert an existing matrix at the beginning of a session, useGET
to retrieve the matrix file and then specifyIN(*)
onMATRIX
.
IN. The matrix file to read.
OUT. The matrix file to write.
Example
GET FILE=COVMTX.
MCONVERT MATRIX=OUT(CORMTX).
-
GET
retrieves the matrix data file COVMTX. COVMTX becomes the active dataset. - By default,
MCONVERT
reads the original matrix from the active dataset.IN(*)
can be specified to make the default explicit. - The keyword
OUT
onMATRIX
writes the converted matrix to file CORMTX.