Documentation

  • Documentation Home
  • Simulink
  • Modeling
  • Modeling Guidelines
  • High-Integrity System Modeling
  • Simulink Block Considerations
  • Stateflow Chart Considerations
  • MATLAB Function and MATLAB Code Considerations
  • Configuration Parameter Considerations
  • Requirements Considerations
  • MISRA C:2012 Compliance Considerations
  • All
  • Examples
  • Functions
  • Blocks
  • More
    • All
    • Examples
    • Functions
    • Blocks

    MATLAB Function and MATLAB Code Considerations

    MATLAB® Functions, MATLAB code

    Modeling Guidelines

    expand all

    MATLAB Functions

    himl_0001: Usage of standardized MATLAB function headers
    himl_0002: Strong data typing at MATLAB function boundaries
    himl_0003: Limitation of MATLAB function complexity

    MATLAB Code

    himl_0004: MATLAB Code Analyzer recommendations for code generation
    himl_0006: MATLAB code if / elseif / else patterns
    himl_0007: MATLAB code switch / case / otherwise patterns
    himl_0008: MATLAB code relational operator data types
    himl_0009: MATLAB code with equal / not equal relational operators
    himl_0010: MATLAB code with logical operators and functions
    himl_0011: Data type and size of condition expressions
    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