Main Content

Absolute time temporal value shorter than sampling period

Description

Select the diagnostic action to take when a state or transition absolute time operator uses a time value that is shorter than the sample time for the Stateflow® block. Stateflow cannot update states in smaller increments than the sample time for the block. For example, a model with a sample rate of 0.1 sec and an operator after(5,usec) triggers this diagnostic. If this parameter is set to warning or none, then the operator is evaluated as true at every time step.

Category: Diagnostics

Settings

Default: warning

none

No warning or error appears.

warning

A warning appears.

error

An error appears and stops the simulation.

Command-Line Information

Parameter: SFTemporalDelaySmallerThanSampleTimeDiag
Value: 'none' | 'warning' | 'error'
Default: 'warning'

Recommended Settings

ApplicationSetting
Debuggingerror
Traceabilityerror
Efficiencyerror
Safety precautionerror

Related Topics