Documentation

  • Documentation Home
  • Embedded Coder
  • Code Generation from Simulink Models
  • Model Architecture and Design
  • Standards, Guidelines, and Block Usage
  • Embedded Coder
  • Code Generation from Simulink Models
  • Model Architecture and Design
  • Component-Based Modeling
  • Subsystems
  • Modeling Guidelines for Subsystems
  • On this page
  • See Also
  • All
  • Examples
  • Functions
  • Blocks
  • Apps
  • All
  • Examples
  • Functions
  • Blocks
  • Apps

Modeling Guidelines for Subsystems

When you develop models and generate code for subsystems, use the modeling guideline recommendations.

Code Generation Modeling Guidelines

cgsl_0204: Vector and bus signals crossing into atomic subsystems or Model blocks

High-Integrity Systems Modeling Guidelines

hisl_0007: Usage of For Iterator or While Iterator subsystems

hisl_0010: Usage of If blocks and If Action Subsystem blocks

hisl_0011: Usage of Switch Case blocks and Action Subsystem blocks

hisl_0023: Verification of variant blocks

MathWorks Advisory Board (MAB) Control Algorithm Guidelines

db_0042: Usage of Inport and Outport blocks

db_0081: Unconnected signals and blocks

db_0143: Usable block types in model hierarchy

db_0144: Use of subsystems

db_0146: Block layout in conditional subsystems

jc_0201: Usable characters for subsystem names

jc_0231: Usable characters for block names

jc_0281: Trigger signal names

jm_0002: Block resizing

na_0008: Display of labels on signals

na_0009: Entry versus propagation of signal labels

For more information, see Model Advisor Checks for High-Integrity Modeling Guidelines and Model Advisor Checks for MAB and JMAAB Compliance (Simulink Check).

See Also

Modeling Guidelines for Blocks | Modeling Guidelines for Charts | Modeling Guidelines for MATLAB Functions | Modeling Guidelines for Model Configuration

Embedded Coder Documentation

  • Examples
  • Functions and Other Reference
  • Release Notes
  • PDF Documentation

Support

  • MATLAB Answers
  • Installation Help
  • Bug Reports
  • Product Requirements
  • Software Downloads

© 1994-2020 The MathWorks, Inc.

  • Terms of Use
  • Patents
  • Trademarks
  • Acknowledgments