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 SubsystemSubsystem that repeats execution on each element or subarray of input signals or mask parameters and concatenates results
For Iterator SubsystemSubsystem that repeats execution during a simulation time step
Function-Call Feedback LatchBreak feedback loop involving data signals between function-call blocks
Function-Call GeneratorProvide function-call events to control execution of a subsystem or model
Function-Call SplitProvide junction for splitting function-call line
Function-Call SubsystemSubsystem whose execution is controlled by an external function-call input
IfSelect subsystem execution using logic similar to if-else statement
If Action SubsystemSubsystem whose execution is enabled by an If block
In Bus Element Select signal that connects to input port
InportCreate input port for subsystem or external input
ModelReference another model to create model hierarchy
Out Bus ElementSpecify signal that connects to output 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 a switch statement
Switch Case Action SubsystemSubsystem whose execution is enabled by a 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 blocks or Model blocks as Variant choices
While Iterator SubsystemSubsystem that repeats execution during a simulation time step

Topics

Use Control Flow Logic

How to use control flow blocks to model control logic.