Editing Array Dimensions

You can edit the dimension values or the resizable option of array parameters.

  1. From the Design Gateway, select a model.

  2. Select the component that contains the array that you want to edit.

  3. Click the Parameters tab, and right-click the array that you want to update.

  4. Select Edit Selected from the menu that appears.

    The Edit Parameters dialog box appears.

  5. Set the following array parameter options:

    Option Description
    Size Enter the Size of the dimension. The Size refers to the number of elements in each dimension and follows the row-major ordering rule. Therefore, for a 2D array the first dimension is the number of rows and the second dimension is the number of columns.
    Dimensions are resizable When selected, the array can be resized during execution. All array parameters can be resized at any time using the Design Gateway. Any array parameter that is defined as resizable is marked with an asterisk (*) to the right of the parameter’s name on the Parameters tab. For more information on using array parameters from the Runtime Gateway, see Editing Parameters Directly on the Parameters Tab.

  6. Click OK to save your changes and to close the Edit Parameters dialog box.

  7. Save the model, if desired.