Script Function ReferenceFunction Reference >Script Function Reference >Varaible Manipulation>getMatrixgetMatrixgetMatrix will retrieve a matrix variable.
getMatrix(varName, ...)
ParametersgetMatrix will accept any number of string values. Each string needs to be the name of a varaible defined in the calculator.Return ValueFor each parameter passed getMatrix will return a matrix in the matrix table format. If the variable is not defined in the calculator or is a number or list a nil is returned.Examplefunction example() matrix = getMatrix("list") outputString("dim(matrix)=("..matrix.row..", "..matrix.col..")\n") end |