ActivationOperations

SampleClock

This block generates a periodic activation signal. Periodic activation signals are special because they are made up of events that occur at regular intervals of time. Note that an activation signal made of up of events at regular intervals of time is not necessarily a periodic activation signal. For example the activation signal produced by the EventClock is not periodic. All periodic activation signals under the same SyncTag are considered synchronous.

IfThenElse

The IfThenElse block redirects its activation signal to one of its output activation ports, creating synchronism between its outgoing event and activating event. The activation port the block selects depends on the value of the regular input: when the value is larger than zero, the block selects the first output activation port, otherwise the block selects the second port.

SwitchCase

This block directs the incoming event to one of the output activation ports depending on the value of the regular input.

EventGenerate

Several events are programmed at specified time instants.

EventClock

The unique output of this block generates a regular series of events scheduled by the block parameters Period and Offset.

ExtractActivation

This block extracts the activation signal associated with the regular signal received on its regular input port and outputs it on its activation output port. The output activation signal is synchronous with the extracted activation signal.

RepeatActivation

This block, once activated, forces the simulator to repeat the primary source of the current activation once the cycle of activations ends. The behavior is undefined when primary activation is "always-active" (continuous-time activation).

ReSampleClock

This block resamples the period and the offset when the block is connected to a sample clock or a resample block.

EdgeTrigger

This block generates an event on rising, falling or both edges of the input signal (depending on the block parameter). A rising edge is a change in value from strictly negative or zero to strictly positive. A falling edge is the opposite.

ZeroCross

This block produces an output event if all the inputs cross zero simultaneously. The block does not react to jumps across zero due to events so an input may change sign without any event generation, in particular if the input is a discrete signal. For detecting discrete-time zero crossings, use the EdgeTrigger block.

ZeroCrossDown

This block produces an output event if the input crosses zero with a negative slope. The block does not react to jumps across zero due to events so an input may change sign without any event generation, in particular if the input is a discrete signal. For detecting discrete-time zero crossings, use the EdgeTrigger block.

ZeroCrossUp

The block produces an output event if the input crosses zero with a positive slope. The block does not react to jumps across zero due to events so an input may change sign without any even generation (in particular if the input is a discrete signal). For detecting discrete-time zero-crossings, use the EdgeTrigger block.

MultiZC

This block produces an output event if any of the entries of the input matrix crosses zero. The block output, when activated, provides the direction of zero-crossings of the inputs (0: no crossing, 1: - to + and, -1: + to -). The block does not react to jumps across zero due to events so an input may change sign without any event generation, in particular if the input is a discrete signal.

End

This block pauses, stops or restarts a simulation. The block also generates errors and messages.

EndSimulation

This block sets the time for a simulation to end.

ActivationIntersection

This block produces an event when it is activated synchronously through all of its input activation ports. The output event is synchronous with the input event.

AndActivations

This block outputs 1 or 0 on its regular output port. The block outputs 1 if activated synchronously through its two activation input ports. The block outputs 0 if activated via only one port.

EventDelay

This block implements an event channel. The event timing is specified by the value on the first block input port. This value corresponds to the delay after which the event is to be fired. The value associated with the event is read on the second input and placed on the output when the block is activated through its second input activation port.

EventVariableDelay

When activated, this block programs an event, with a delay, on its output activation port. The value of the delay is given by the value of the regular input of the block at the time of activation.

EventUnion

This block produces an event when activated by one or more synchronous events. The output event is synchronous with the input event(s).

ExtractPeriod

This block produces on its regular output port the period of its activation. If the block is not activated with a periodic activation signal, an error is generated. Periodic activation signals are produced by the SampleClock and the ReSampleClock blocks.

IfExpressions

This block implements the conditional construct if-then-elseif-...-else-end. One and only one of the output activation ports is fired synchronously when the block is activated.

AlwaysActivate

This block generates the signal, Always Activation.

InitialEvent

This block generates an activation signal at the initial time.

MessageBox

Displays an interactive GUI message box that generates an event based on the button that is selected.

GetActivationSignal

This block receives input activations from a corresponding SetActivationSignal block by connecting the event ports of the blocks without using a link. A single SetActivationSignal block can send activations to multiple GetActivationSignal blocks, but a GetActivationSignal block can receive activation from only one SetActivationSignal block.

SetActivationSignal

This block sends output activations to a corresponding GetActivationSignal block by connecting the event ports of the blocks without using a link. A single SetActivationSignal block can send activations to multiple GetActivationSignal blocks, but a GetActivationSignal block can receive activation from only one SetActivationSignal block.

ActivationSignalScoping

This block defines the scope of the Activation signal defined by the SetActivationSignal block with the corresponding signal name, when the SetActivationSignal block is configured as "Scoped".

EventPortZero

This is a virtual block that can be included in a super block. The activation signals received by this block synchronously activate all of the always-active blocks inside the super block.

SyncTag

This block defines a tag for the Synchronous clocks of the model. If the block exists in a diagram, then the Sample/Resample clocks are synchronous in that diagram and its children, but asynchronous with the outside levels.

EventToCode

This block outputs a binary code that defines the ports through which the block has been activated.

SimulatorInfo

This block provides information from the simulator.

FrequencyDivider

This block produces an output event every n times it is activated. The outgoing event is synchronous with the activation event of the block. The output is not a periodic activation signal even if the block is activated by a periodic activation signal.