Documentation

  • Documentation Home
  • Simulink
  • Modeling
  • Modeling Guidelines
  • MAB Modeling Guidelines
  • Naming Conventions
  • Simulink
  • Stateflow
  • MATLAB
  • All
  • Examples
  • Functions
  • Blocks
  • More
    • All
    • Examples
    • Functions
    • Blocks

    MATLAB

    MATLAB® Function appearance, data, patterns, and use

    Modeling Guidelines

    expand all

    MATLAB Appearance

    na_0018: Number of nested if/else and case statement
    na_0025: MATLAB Function header

    MATLAB Data and Operations

    na_0024: Shared data in MATLAB functions
    na_0031: Definition of default enumerated value
    na_0034: MATLAB Function block input/output settings

    MATLAB Usage

    na_0016: Source lines of MATLAB Functions
    na_0017: Number of called function levels
    na_0021: Strings in MATLAB functions
    na_0022: Recommended patterns for Switch/Case statements
    jc_0801: Prohibited use of the /* and */ comment symbols
    Simulink Documentation
    • Examples
    • Blocks 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