Main Content

Ports and Subsystems

Blocks related to subsystems, such as Inport, Outport, Subsystem, and Model

Blocks

Configurable SubsystemRepresent any block selected from user-specified library of blocks
EnableAdd enable port to subsystem or model
Enabled SubsystemSubsystem whose execution is enabled by external input
Enabled and Triggered SubsystemSubsystem whose execution is enabled and triggered by external inputs
For Each SubsystemApply algorithm to individual elements or subarrays of input signals or mask parameters
For Iterator Subsystem Repeat subsystem execution during simulation time step for specified number of iterations
Function-Call Feedback LatchBreak feedback loop involving data signals between function-call blocks
Function-Call GeneratorProvide function-call events to control execution of subsystem or model
Function-Call SplitProvide junction for splitting function-call line
Function-Call SubsystemSubsystem whose execution is controlled by external function-call input
IfSelect subsystem execution using logic similar to if-else statement
If Action SubsystemSubsystem whose execution is enabled by If block
In Bus Element Select input from external port
InportCreate input port for subsystem or external input
ModelReference another model to create model hierarchy
Out Bus ElementSpecify output that connects to external port
OutportCreate output port for subsystem or external output
Resettable Subsystem Subsystem whose block states reset with external trigger
Subsystem, Atomic Subsystem, CodeReuse SubsystemGroup blocks to create model hierarchy
Switch CaseSelect subsystem execution using logic similar to switch statement
Switch Case Action SubsystemSubsystem whose execution is enabled by Switch Case block
TriggerAdd trigger or function port to subsystem or model
Triggered SubsystemSubsystem whose execution is triggered by external input
Unit System ConfigurationRestrict units to specified allowed unit systems
Variant Subsystem, Variant ModelTemplate subsystem containing Subsystem, Model, or Subsystem Reference blocks as Variant choices
While Iterator Subsystem Repeat subsystem execution during simulation time step while logical expression is true

Topics

Use Control Flow Logic

How to use control flow blocks to model control logic.