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 and OUT. The specification on both IN and OUT 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 and OUT 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, use GET to retrieve the matrix file and then specify IN(*) on MATRIX.

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 on MATRIX writes the converted matrix to file CORMTX.