API Guide > PTC Mathcad Prime Objects > Object: OutputMatrixResult
Object: OutputMatrixResult
This object represents the PTC Mathcad Prime Output Matrix Result COM interface Ptc.MathcadPrime.Automation.IMathcadPrimeOutputMatrixResult.
Properties
ErrorCode—Gets the error code.
Returns:
–1
An unknown error occurred when performing this function. It can also occur if the worksheet is not open.
0
No error. The function was successful.
1
An alias of input/output item was not found.
2
Input/Output has been disabled.
3
Units incompatible.
4
Input is invalid.
5
Calculation error.
6
Result type incompatible.
7
Matrix result is invalid.
8
Calculation time out.
9
Calculation disabled.
MatrixResult—Gets the matrix result (by type of Matrix).
Returns:
Null in case of error.
Units—Gets the units.
All values in the matrix must be of the same dimension. For example, one matrix can contain values in meters and feet – different units of length, but cannot contain meters and kilograms – units of length and weight.
If the values do not have units of same dimension, such as, inches and seconds, the function returns an error.
You can use values without units. In this case, all values in the matrix must be unitless.
Strings are not supported.
Was this helpful?