Creating the Matrix Argument
- Add an argument with argument type mat[cont] to a method.
Place the argument in the drawing area.
A matrix argument with direction In has only the readout pins, it is not possible to write to the matrix.
A matrix argument with direction InOut has both read and write pins.
A matrix argument with direction Out has only the write pins, it is not possible to read from the matrix.
- Use the normal readout pins.
The procedure to return matrices or arrays is more complicated. It is described in the following paragraphs, using the addition of two matrices as an example.
See also
Creating the Computation Class