Contenido principal

La traducción de esta página aún no se ha actualizado a la versión más reciente. Haga clic aquí para ver la última versión en inglés.

Ports and Subsystems

R2026a
Bloques relacionados con los subsistemas, como Inport, Outport, Subsystem y Model

Utilice los bloques de la biblioteca Ports and Subsystem para crear puertos de entrada y salida, así como subsistemas con ejecución condicional, subsistemas iterable y subsistemas de variantes.

Bloques

Enable blockEnableAdd enable port to subsystem or model
Enabled Subsystem blockEnabled SubsystemSubsystem whose execution is enabled by external input
Enabled and Triggered Subsystem blockEnabled and Triggered SubsystemSubsystem whose execution is enabled and triggered by external inputs
For Each Subsystem blockFor Each SubsystemApply algorithm to individual elements or subarrays of input signals or mask parameters
For Iterator Subsystem blockFor Iterator Subsystem Repeat subsystem execution during simulation time step for specified number of iterations
Function Element blockFunction ElementSpecify function to provide via exporting function port (Desde R2022a)
Function Element Call blockFunction Element CallSpecify function call to issue via invoking function port (Desde R2022a)
Function-Call Feedback Latch blockFunction-Call Feedback LatchBreak feedback loop involving data signals between function-call blocks
Function-Call Generator blockFunction-Call GeneratorProvide function-call events to control execution of subsystem or model
Function-Call Split blockFunction-Call SplitProvide junction for splitting function-call line
Function-Call Subsystem blockFunction-Call SubsystemSubsystem whose execution is controlled by external function-call input
If blockIfSeleccione la ejecución del subsistema usando una lógica similar a la instrucción if-else
If Action Subsystem blockIf Action SubsystemSubsystem whose execution is enabled by If block
In Bus Element blockIn Bus ElementSelect input from external port
Inport blockInportCreate input port for subsystem or external input
Model blockModelReference another model to create model hierarchy
Out Bus Element blockOut Bus ElementSpecify output of external port
Outport blockOutportCreate output port for subsystem or external output
Resettable Subsystem blockResettable Subsystem Subsystem whose block states reset with external trigger
Subsystem blockSubsystemGroup blocks to create model hierarchy
Switch Case blockSwitch CaseSelect subsystem execution using logic similar to switch statement
Switch Case Action Subsystem blockSwitch Case Action SubsystemSubsystem whose execution is enabled by Switch Case block
Trigger blockTriggerAdd trigger or function port to subsystem or model
Triggered Subsystem blockTriggered SubsystemSubsystem whose execution is triggered by external input
Unit System Configuration blockUnit System ConfigurationRestrict units to specified allowed unit systems
Variant Subsystem blockVariant SubsystemTemplate subsystem containing Subsystem blocks as variant choices
While Iterator Subsystem blockWhile Iterator Subsystem Repeat subsystem execution during simulation time step while logical expression is true

Temas