Documentation

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

Modeling Guidelines for Blocks

Code generation modeling guidelines include recommended model settings, block usage, and block parameters. When you develop models for code generation, use these guidelines.

Code Generation Modeling Guidelines

cgsl_0101: Zero-based indexing

cgsl_0102: Evenly spaced breakpoints in lookup tables

cgsl_0103: Precalculated signals and parameters

cgsl_0104: Modeling global shared memory using data stores

cgsl_0105: Modeling local shared memory using data stores

cgsl_0201: Redundant Unit Delay and Memory blocks

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 Charts | Modeling Guidelines for MATLAB Functions | Modeling Guidelines for Model Configuration | Modeling Guidelines for Subsystems

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