Documentation

Model Configuration Parameters: Sample Time Diagnostics

The Diagnostics > Sample Time category includes parameters for detecting issues related to sample time and sample time specifications.

On the Configuration Parameters dialog box, the following configuration parameters are on the Commonly Used tab on the Diagnostics > Sample Time pane, or on the All Parameters tab in the Diagnostics > Sample Time category.

ParameterDescription

Source block specifies -1 sample time

Select the diagnostic action to take if a source block (such as a Sine Wave block) specifies a sample time of -1.

Multitask rate transition

Select the diagnostic action to take if an invalid rate transition occurred between two blocks operating in multitasking mode.

Single task rate transition

Select the diagnostic action to take if a rate transition occurred between two blocks operating in single-tasking mode.

Multitask conditionally executed subsystem

Select the diagnostic action to take if Simulink® software detects a subsystem that may cause data corruption or non-deterministic behavior.

Tasks with equal priority

Select the diagnostic action to take if Simulink software detects two tasks with equal priority that can preempt each other in the target system.

Enforce sample times specified by Signal Specification blocks

Select the diagnostic action to take if the sample time of the source port of a signal specified by a Signal Specification block differs from the signal's destination port.

Sample hit time adjusting

Select the diagnostic action to take if Simulink software makes a minor adjustment to a sample hit time while running the model.

Unspecified inheritability of sample time

Select the diagnostic action to take if this model contains S-functions that do not specify whether they preclude this model from inheriting their sample times from a parent model.

Related Examples

Was this topic helpful?