Ports und Subsysteme
R2026bBlöcke zum Erstellen von Subsystemen, Ports und bedingter oder iterativer Ausführung, z. B. Inport, Outport, If, Subsystem und Model
Verwenden Sie Blöcke aus der Bibliothek „Ports and Subsystems“, um Ihr Modell in hierarchische Komponenten zu gliedern. Sie können Eingangs- und Ausgangsports definieren, Subsysteme erstellen und Ausführungsmuster implementieren, die bedingt, iterativ oder variantenabhängig sind.
Näheres zum Hinzufügen von Blöcken aus dieser Bibliothek zu Ihrem Modell finden Sie unter Add Blocks to Models.
Blöcke
| Enable | Add enable port to subsystem or model | |
| Enabled Subsystem | Subsystem whose execution is enabled by external input | |
| Enabled and Triggered Subsystem | Subsystem whose execution is enabled and triggered by external inputs | |
| For Each Subsystem | Apply 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 Element | Specify function to provide via exporting function port (Seit R2022a) | |
| Function Element Call | Specify function call to issue via invoking function port (Seit R2022a) | |
| Function-Call Feedback Latch | Break feedback loop involving data signals between function-call blocks | |
| Function-Call Generator | Provide function-call events to control execution of subsystem or model | |
| Function-Call Split | Provide junction for splitting function-call line | |
| Function-Call Subsystem | Subsystem whose execution is controlled by external function-call input | |
| If | Auswahl der Subsystem-Ausführung mithilfe von if-else-Ausdrücken ähnlicher Logik | |
| If Action Subsystem | Subsystem whose execution is enabled by If block | |
| In Bus Element | Select input from external port | |
| Inport | Create input port for subsystem or external input | |
| Model | Reference another model to create model hierarchy | |
| Out Bus Element | Specify output of external port | |
| Outport | Create output port for subsystem or external output | |
| Resettable Subsystem | Subsystem whose block states reset with external trigger | |
![]() | Subsystem | Group blocks to create model hierarchy |
| Switch Case | Auswahl der Subsystem-Ausführung mithilfe von switch-Ausdrücken ähnlicher Logik | |
| Switch Case Action Subsystem | Subsystem whose execution is enabled by Switch Case block | |
| Trigger | Add trigger or function port to subsystem or model | |
| Triggered Subsystem | Subsystem whose execution is triggered by external input | |
| Unit System Configuration | Restrict units to specified allowed unit systems | |
| Variant Subsystem | Template subsystem containing Subsystem blocks as variant choices | |
| While Iterator Subsystem | Repeat subsystem execution during simulation time step while logical expression is true |
Tools
| Library Browser | Find and add blocks to model |
Themen
- Add Blocks to Models
Use the Library Browser and quick insert menu to insert blocks.
- Use Control Flow Logic
How to use control flow blocks to model control logic.
