Implementing Scalar, Array or Matrix Elements

Note

These instructions do not apply to arrays and matrices specified as explicit references. For that case, see Implementing References.

Implementing scalar, array or matrix elements, including implementation casts, arguments and return values, contains the following steps:

  1. Open the implementation editor: alternative A, alternative B, alternative C
  2. Do one of the following:

If you want to optimize the generated initialization code of arrays/matrices of scalar or enumeration type, activate the Generating Sparse Arrays target option. See also Initialization of Arrays and Matrices.