## indexedAssign

**Block Category:** Matrix Operation

**Inputs: **Inputs labeled “c” and “r” indicate the
column and row of the matrix to which the element is assigned; the bottom input
represents the element value; and the green input accepts the matrix.

**Description:** The indexedAssign block assigns an
element to a matrix.

**Do not modify input matrix: **Makes a copy of the
input matrix before performing the assignment.

#### Example

The value 5 is inserted into the second row,
second column of the matrix.