PLECS 3.5 Online Help

Enable

Purpose

Control execution of an atomic subsystem

Library

System

Description

pict

The Enable block is used in an atomic subsystem (see Virtual and Atomic Subsystems) to create an enabled subsystem. When you copy an Enable block into the schematic of a subsystem, a corresponding enable terminal will be created on the Subsystem block. In order to move this terminal around the edges of the Subsystem block, hold down the Shift key while dragging the terminal with the left mouse button or use the middle mouse button.

An enabled subsystem is executed while the enable signal is non-zero. The enable signal may be a vector signal. In this case the enabled subsystem is executed while any enabled signal is non-zero.

If the sample time of the Subsystem block is not inherited, the enable signal will be evaluated only at the instants specified by the sample time parameter.


Note  An enabled subsystem may not contain any physical components.

Parameters

Width
The width of the enable signal. The default auto means that the width is inherited from connected blocks.
Show output port
When this parameter is set to on, the Enable block shows an output terminal for accessing the enable signal within the subsystem.

Probe Signals

Output
The output signal of the Enable block.