Main Content

Initialize, Reinitialize, Reset, and Terminate Function Limitations

Unsupported Blocks

Initialize Function,Reinitialize Function,Reset Function, andTerminate Functionblocks do not support:

  • Modelblocks

  • Custom code blocks

  • Stateflow®charts

  • Resettable Subsystemblocks

  • Blocks with state, for example,Unit Delayblocks

  • Blocks with absolute time, for example,Clockblocks

  • MATLAB Systemblocks

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

Initialize Function,Reinitialize Function,Reset Function, andTerminate Functionblocks cannot call万博1manbetx仿真软件的功能blocks with:

  • Input or output ports

  • AnInitialize Function,Reinitialize Function,Reset Function, orTerminate Functionblock

  • Unsupported blocks

Unsupported Features

Initialize Function,Reinitialize Function,Reset Function, andTerminate Functionblocks do not support:

  • Using variable-size signals

Component I/O Blocks

The input ports of a model component containingInitialize Function,Reinitialize Function, orReset Functionblocks must connect to rootInportblocks without intervening blocks, and the output ports of a model component containing aReset FunctionorTerminate Functionblocks must connect to rootOutportblocks without intervening blocks.

If a model containing anInitialize Function,Reinitialize Function,Reset Function, orTerminate Functionblock is an export-function model, the signal from the rootInportmust not be branched to a万博1manbetx仿真软件的功能block. If the model is not an export-function model, the signal from the rootInportmust not be branched to any other block.

In this example, anInitialize Functionblock is placed in aSubsystemblock. The model containing theSubsystemblock is referenced from a model that is referenced from the root level model. Only the top-level model with theShow model initialize portparameter selected can have blocks between the input and output ports.

See Also

Blocks

Related Topics