MXAM in Action

Best Practices for Modeling Guidelines and Architectural Design Principles - 2 days


Date Location
Feb 23–24, 2021



More dates and in-house training classes available worldwide on request:


This training class will introduce you to fundamental aspects of working with modeling guidelines and to the static model analysis of MATLAB Simulink/Stateflow, TargetLink, and Embedded Coder models. Furthermore, you will learn how to create MISRA- and ISO 26262-compliant models using proven modeling standards and best practices. The spotlight will be placed on how you can best integrate the MES Model Examiner (MXAM) into your process. Via several hands-on sessions, you will have the chance to practice reliably deploying guidelines with MXAM and ensure guideline compliance. Participants will discover a good workflow for analyzing and correcting models, justifying deviations in preparation for a review, as well as adapting and integrating MXAM into user-specified development environments. What's more, you will find out how to perform a structure and complexity analysis of a model. The resulting metrics serve as the basis for assessing the architecture, complexity, and size of a model.

Target Audience

This training class is targeted at anyone who wants to learn how to use the MES Model Examiner (MXAM) professionally. The class is for function developers, testers, test managers, and quality managers who focus on model-based development of embedded software based on MATLAB/Simulink and related to Embedded Coder/TargetLink. Share your experiences and discuss with other tool users.


  • Presentation of proven modeling guidelines
  • Automated guideline checking and correction with MXAM
  • Review of guideline violations and accounting for discrepancies
  • Creating custom guideline documents in MXAM
  • Toolchain and continuous integration
  • Assessing architectural design principles
  • Complexity analysis of models

Vivek Yaragatti,
TKI Automotive

"Best practices for model-based development.”

Fees, Terms & Conditions

Agenda - Day 1

10 a.m. Welcome and introduction round
10:30 a.m. Introduction to modeling guidelines and static model analysis
  • Model quality through static guideline checking
  • The purpose of guidelines
  • Presentation of standard guideline documents
  • Structure of MXAM Starter Set
  • 11 a.m. Guideline analysis with MES Model Examiner (MXAM)
  • General workflow
  • Structure and use of the user interface
  • Reporting: overview, result navigation, model linking, auto repair, re-run, annotations, and export

  • Hands-on: General workflow
  • Performing guideline analyses
  • Repairing guideline violations
  • Justifying guideline violations
  • Saving and exporting reports
  • 12:30 p.m. Lunch break and open dialog
    1:30 p.m. Basic configuration of an analysis with MXAM
  • Creating a project with all analysis-relevant settings
  • Creating a guideline document to define a set of guidelines
  • Central analysis configuration in project settings: reporting, annotations, artifacts, and global parameters
  • Creating an ignore-list to disregard model elements
  • Configuring check parameters for a customer-specific guideline analysis

  • Hands-on: Configuring a project
  • Creating and configuring MXAM projects, ignore lists, guideline documents
  • 2:15 p.m. Presentation of guidelines for key aspects of modeling
  • Selected guidelines for Simulink, Stateflow, and TargetLink with topics such as layout, naming conventions, dataflow, typing, and scaling

  • Hands-on: Applying standard guidelines
  • Performing analyses of a demo model with the MXAM Starter Set
  • Evaluating and discussing specific findings
  • 4:15 p.m. Summary, discussion, and feedback
    5 p.m. End of day

    Agenda - Day 2

    9 a.m. Extensive configuration of an MXAM analysis
  • Setup of a project structure in a content management system
  • Creating a user-defined guideline document: authoring, versioning

  • Hands-on: Customizing MXAM
  • Creating custom libraries for distributed development
  • Creating custom guidelines
  • 11 a.m. Automating an MXAM analysis
  • Exporting the current project settings into a MATLAB batch script
  • Executing batch analysis via the MATLAB command line
  • Various interfaces for continuous integration
  • Hook functions to customize the analysis

  • Hands-on: Creating batch analyses
  • Creating, adjusting, and running MATLAB batch analyses for automated execution
  • Integrating hook functions to meet toolchain-specific requirements
  • 12 p.m. Lunch break and open dialog
    1 p.m. Further modeling best practices
  • ISO 26262 requirements that can be covered with modeling guidelines
  • Other aspects: observance of ranges, compatibility of interfaces, etc.

  • Hands-on: Applying advanced guidelines
  • Performing analyses of demo or customer models with an extended set
  • Evaluating and discussing specific findings
  • 2 p.m. Implementing software architecture in models
  • Software architecture in models
  • Principles for layered models
  • Interface handling in models
  • 3 p.m. Analysis and evaluation of model structure
  • Analysis of the model structure
  • Introduction to complexity metrics
  • Calculation of model complexity
  • Countermeasures to overly complex models
  • Assessment of coherence in models
  • Determining structural and functional subsystems

  • Hands-on: Model architecture analysis
  • Evaluating model structure and model metrics
  • Identifying complex subsystems, ineffective interfaces, and clones
  • 4 p.m. Wrap up of the event
    5 p.m. End of training class