Main Content

jc_0641: Sample time setting

Since R2020a

Guideline Publication

Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®

Sub ID Recommendations

  • NA-MAAB — No recommendations

  • JMAAB — a

MATLAB Versions

All

Rule

Sub ID a

Block parameter Sample time shall be set to -1 (inherited).

Exceptions

Custom Parameter

Not Applicable

Rationale

Sub ID a:

  • Discrepancies can occur in the processing of the model because of different simulation times.

  • Maintainability of the model deteriorates when a specific sample time is set for each block individually.

Verification

Model Advisor check: Check for sample time setting (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a