Documentation Center

  • Trials
  • Product Updates

Ports and Subsystems

Blocks that support ports and subsystems, such as Inport and Subsystem

Blocks

Inport Create input port for subsystem or external input
Outport Create output port for subsystem or external output
Subsystem Represent system within another system
Model Include model as block in another model
Model Variants Include model as block in another model
Variant Subsystem Represent a subsystem with multiple subsystems
Configurable Subsystem Represent any block selected from user-specified library of blocks
Atomic Subsystem Represent system within another system
CodeReuse Subsystem Represent system within another system
Enabled Subsystem Represent subsystem whose execution is enabled by external input
Triggered Subsystem Represent subsystem whose execution is triggered by external input
Enabled and Triggered Subsystem Represent subsystem whose execution is enabled and triggered by external input
If Action Subsystem Represent subsystem whose execution is triggered by If block
Switch Case Action Subsystem Represent subsystem whose execution is triggered by Switch Case block
For Iterator Subsystem Represent subsystem that executes repeatedly during simulation time step
For Each Subsystem Repeatedly perform algorithm on each element or subarray of input signal and concatenate results
While Iterator Subsystem Represent subsystem that executes repeatedly while condition is satisfied during simulation time step
Trigger Add trigger port to model or subsystem
Action Port Implement Action subsystems used in if and switch control flow statements
Enable Add enabling port to system
For Each Enable blocks inside For Each Subsystem to process elements or subarrays of input signal independently
For Iterator Repeatedly execute contents of subsystem at current time step until iteration variable exceeds specified iteration limit
If Model if-else control flow
Switch Case Implement C-like switch control flow statement
While Iterator Repeatedly execute contents of subsystem at current time step while condition is satisfied
Function-Call Subsystem Represent subsystem that can be invoked as function by another block
Function-Call Feedback Latch Break feedback loop involving data signals between function-call blocks
Function-Call Generator Execute function-call subsystem specified number of times at specified rate
Function-Call Split Provide junction for splitting function-call signal

Examples and How To

Was this topic helpful?