Contenuto principale

La traduzione di questa pagina non è aggiornata. Fai clic qui per vedere l'ultima versione in inglese.

Porte e sottosistemi

R2026a
Blocchi relativi ai sottosistemi, come ingresso, uscita, sottosistema e modello

Utilizzare i blocchi della libreria Ports e Subsystem per creare porte di input e di output, nonché sottosistemi a esecuzione condizionata, sottosistemi iteratori e sottosistemi delle varianti.

Blocchi

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 (Da R2022a)
Function Element Call blockFunction Element CallSpecify function call to issue via invoking function port (Da 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 blockIfSelezionare l'esecuzione del sottosistema utilizzando una logica simile alla dichiarazione 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 CaseSelezionare l'esecuzione del sottosistema utilizzando una logica simile alla dichiarazione switch
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

Argomenti