Technical data
LibIsDiscrete
4
-37
LibIsDiscrete
Purpose
Determines if a block is discrete based on its task identifier (TID)
Syntax
%<LibIsDiscrete(tid)>
Arguments
tid
Task identifier (i.e., integer index into
SampleTime
).
Returns
1 if discrete, otherwise returns 0.
Description
Determines if a block is discrete based on its TID. Note that TIDs equal to
triggered
or
constant
are not discrete.