Signal Outport

Purpose

Add signal output connector to subsystem

Library

System

Description

../../_images/out.svg

Outports are used to feed signals from subschematic to the parent schematic. In PLECS Blockset, outports are also used to feed signals from a PLECS circuit back to Simulink. If you copy an output block into a schematic, an output terminal will be created on the corresponding subsystem block. The name of the output block will appear as the terminal label. If you choose to hide the block name by unselecting the show button in the dialog box, the terminal name will also disappear.

Output Blocks in a Top-Level Circuit

If an output block is placed in a top-level circuit, a unique output port number is assigned to the block. In PLECS Blockset, this port number determines the position of the corresponding output terminal of the PLECS Circuit block in the Simulink model.

Output Blocks in a Subsystem

If placed in a subschematic, the outputs are not identified by numbers since terminals on subsystem blocks can be freely positioned. Which terminal corresponds to which output block can only be seen from the block name. In order to move a terminal around the edges of a subsystem, drag it with the middle mouse button. Alternatively, use the left mouse button while holding the Shift key.

Parameters

Width

The width of the output signal. The default auto means that the width is inherited from connected blocks.

Output when disabled

This parameter appears only if the block is placed in an enabled subsystem (see the Enable block) and determines the output signal while the subsystem is disabled. If you select held, the output will hold the most recent value before the subsystem was disabled. If you select reset, the output will be reset to the initial output value (see below).

Initial output

This parameter appears only if the block is placed in an enabled and/or triggered subsystem (see the Enable block and the Trigger block) and specifies the initial output before the subsystem is first enabled or triggered.

Port number

The terminal number of the output block. This parameter appears only if the block is placed in a top-level circuit.