Contenido principal

Unspecified inheritability of sample time

Diagnostic action to take when S-functions do not specify sample time inheritance rule

Model Configuration Pane: Diagnostics / Sample Time

Description

The Unspecified inheritability of sample time parameter specifies 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.

Settings

warning (default) | none | error
none

Simulink® software takes no action.

warning

Simulink software displays a warning.

error

Simulink software terminates the simulation and displays an error message.

Tips

  • Not specifying an inheritance rule may lead to incorrect simulation results.

  • Simulink software checks for this condition only if the solver used to simulate this model is a fixed-step discrete solver and the periodic sample time constraint for the solver is set to ensure sample time independence

  • For more information, see Periodic sample time constraint.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

Programmatic Use

Parameter: UnknownTsInhSupMsg
Value: "none" | "warning" | 'error'
Default: "warning"

Version History

Introduced in R2006a