Event to Timed Signal

Convert event-based signal to time-based signal




This block converts an event-based data signal into a time-based data signal. The output signal assumes exactly one value at any given time on the simulation clock. The output signal is almost identical to the input signal, except:

  • The output signal omits zero-duration values, if any, from the input signal.

  • The output signal has a sample time type of "fixed in minor step." As a result, the output signal might have sample time hits at times unrelated to the input signal but related to other time-based signals in the model.

  • The output signal is suitable for modeling time-based dynamics. The signal cannot be an input to a block that requires an event-based input signal. Blocks that can process either time-based or event-based signals might process them differently.

  • The initial output value is the same as the initial input value. However, if the input signal is undefined at T = 0, as in the case of an atomic subsystem that has an event-based input signal, the output signal of this block has an initial output of 0.


Signal Input Ports

NoneEvent-based signal. The signal can have any fixed dimension, complexity, or data type.

Signal Output Ports

NoneTime-based signal

Was this topic helpful?