This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Initialize, Reset, and Terminate Function Limitations

Unsupported Blocks

Initialize, Reset, and Terminate Function blocks do not support:

  • Model blocks

  • Custom code blocks

  • Stateflow® charts

  • Resettable Subsystem blocks

  • Blocks with state, for example, Unit Delay blocks

  • Blocks with absolute time, for example, Clock blocks

  • MATLAB System blocks

  • MATLAB Function blocks which use persistent or global data. However, MATLAB Function blocks without persistent or global data are supported.

Initialize, Reset, and Terminate Function blocks cannot call Simulink Function blocks with:

  • Input or output ports

  • An Initialize Function, Reset Function, or Terminate Function block

  • Unsupported blocks

Unsupported Features

Initialize, Reset, and Terminate Function blocks do not support:

  • Using variable-size signals

Component I/O Blocks

The input and output ports of a model component containing Initialize Function, Reset Function, or Terminate Function blocks must connect to root Inport and Outport blocks without intervening blocks.

In this example, an Initialize Function block is placed in a Subsystem block. The model containing the Subsystem block is referenced from a model that is referenced from the root level model. Only the root level model with the Show model initialize port parameter selected can have blocks between the input and output ports.

See Also

Blocks

Related Topics