Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Blocks That Support Event-Based Input Signals

Computational Blocks

The following table lists blocks in the Simulink® and Stateflow® libraries that can operate directly on event-based input signals. If the block has an event-based input signal and a Sample time parameter in the block dialog box, you must set Sample time to -1 to indicate an inherited sample time.

    Tip   If the block of interest is not in the table but has an inherited or constant sample time, you can still use the block to perform a computation on an event-based signal. Connect the event-based signal to an Atomic Subsystem or Function-Call Subsystem block, and insert the computational block into the subsystem.

BlockLibrary
AddMath Operations
Atomic SubsystemPorts & Subsystems
BiasMath Operations
Bus CreatorSignal Routing
Bus SelectorSignal Routing
ChartStateflow
Data Type ConversionSignal Attributes
DemuxSignal Routing
DivideMath Operations
Dot ProductMath Operations
Function-Call SplitPorts & Subsystems
MATLAB FunctionUser-Defined Functions
FromSignal Routing
Function-Call SubsystemPorts & Subsystems
GainMath Operations
GotoSignal Routing
Goto Tag VisibilitySignal Routing
Logical OperatorLogic and Bit Operations
Math FunctionMath Operations
MinMaxMath Operations
MuxSignal Routing
ProductMath Operations
Product of ElementsMath Operations
Reciprocal SqrtMath Operations
Relational OperatorLogic and Bit Operations
SignMath Operations
Slider GainMath Operations
SqrtMath Operations
SubsystemPorts & Subsystems
SubtractMath Operations
SumMath Operations
Unary MinusMath Operations

Sink Blocks

These blocks in the Simulink Sinks library can display, report on, or terminate event-based input signals.

BlockLibrary
DisplaySinks
Floating ScopeSinks
ScopeSinks
TerminatorSinks
To WorkspaceSinks

SimEvents Blocks

Except for the Timed to Event Signal and Timed to Event Function-Call blocks, all blocks in the SimEvents® libraries that have signal input ports require the input signals to be event-based signals rather than time-based signals.

Other Blocks

A block that is not in one of the SimEvents libraries, Simulink libraries, or Stateflow library cannot directly operate on event-based signals. However, if the block has an inherited or constant sample time, you can connect the event-based signal to an Atomic Subsystem or Function-Call Subsystem block, and then insert the block that is not in one of the libraries into the subsystem.

Was this topic helpful?