hd_0001: Prohibited Simulink sinks
Since R2020a
Guideline Publication
Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®
Sub ID Recommendations
NA-MAAB — a
JMAAB — Not supported
MATLAB Versions
All
Rule
Sub ID a
Control algorithm models shall be designed from discrete blocks.
Scope and Display blocks can be used in the model diagram.
These sink blocks shall not be used:
Consider using signal logging and the Viewers and Generators Manager for data logging and viewing requirements. (R2019b and later) To log and manage the signal, click the Simulation tab and, under the Prepare gallery, select the appropriate tool.
Not Applicable
Rationale
Sub ID a
Improves readability and model simulation.
Code generation may not be possible.
Verification
Model Advisor check: Check for prohibited sink blocks (Simulink Check)
Last Changed
R2020a
See Also
Version History
Introduced in R2020a