Documentation

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

Ports and Subsystems

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

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
Unit System Configuration Configure units
Model Include multiple model implementations as block in another model
Model Variants Include multiple model implementations as block in another model
Variant Subsystem Represent multiple implementations of a system via a subsystem
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
Resettable Subsystem Represent subsystem whose states reset with external trigger
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
Reset Add reset port to subsystem
For Each Enable blocks inside For Each Subsystem to process elements or subarrays of a mask parameter or 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

Topics

Use Control Flow Logic

How to use control flow blocks to model control logic.

Was this topic helpful?