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).
Inport block
Outport block
Atomic subsystem
Blocks with state variables, such as Unit Delay and Memory
Signal conversion blocks, such as Data Type Conversion and Rate Transition
Blocks that do not have external inputs, such as Constant
Stateflow charts
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
See Also
Version History
Introduced in R2020a