MTest is a model test manager integrated into the MATLAB® development environment. It supports efficient unit testing of Simulink®, TargetLink®, and Embedded Coder® models as part of the model-based development process.

Providing Tool Support for

  • MATLAB®/Simulink® R2007b to R2014b+
  • TargetLink® 2.x, and 3.x
  • Embedded Coder® (Real-Time Workshop®)
  • TESTONA (Classification Tree Editor CTE/XL 3.x)

Test Design

  • Efficient testing of Simulink®, TargetLink®, and Embedded Coder® models
  • Test design made easy thanks to clear, predefined, yet flexible structure
  • No need for lengthy test configuration
  • Graphical user interface gives you all the information you require at a glance


  • Easy link to related requirement specification
  • Tracing of dependencies to test specifications and test assessments
  • Calculation of requirements coverage
  • Effective handling of requirements changes for reduced regression test effort

Test Specification and Implementation

  • Intuitive test specification process
  • Multiple test data definition methods mean easy adaption for developers
  • Direct test specification with multiple data sources (MATLAB® mat files, Excel files, ASCII/text/CSV files)
  • Model Test Case Design (MTCD) for intuitive and efficient test specification (developed by MES, integral part of MTest)
  • Optional: TESTONA (Classification Tree Editor CTE/XL) in full version provides systematic test specification method in graphical way

Test Execution

  • Save time with automatic test bed creation and test execution
  • Individually configurable test setup to load specific parameters and constants
  • Automatic code generation for test objects (TargetLink®/Embedded Coder®)
  • Efficient batch test functionality for automation of all test steps
  • Automatic collation and aggregation of model and code coverage data (using Simulink Verification and Validation™ toolbox, TargetLink® Code Coverage Analysis, and Testwell CTC++ Test Coverage Analyser)

Test Evaluation

  • Automatic regression testing using reference data
  • Automatic back-to-back testing for easy comparison between MiL, SiL, PiL outputs
  • Direct comparison of floating-point and fixed-point simulation
  • Automatic evaluation of requirements compliance using test assessments
  • Test data viewer provides clear graphical overview

Test Documentation

  • Documentation fulfills mandatory specifications in safety-critical development
  • Automatic test report generation means no extra time spent on report collation
  • Generates configurable test reports and test catalogs in a clear and structured format
  • Instant overview of all test results in test catalog
  • Detailed test sequence documentation in comprehensive test sequence report
  • Direct access to model/code coverage reports
  • Test data can be exported for use in other tools or formats