Main Content

MATLAB Test

Develop, manage, analyze, and test MATLAB applications

MATLAB® Test™ provides tools for measuring, testing, and improving the quality of your MATLAB code. You can generate starter tests, tests from your command history, and equivalence tests for MATLAB Coder™ and MATLAB Compiler SDK™ artifacts. Also, you can use generative AI (with MATLAB Copilot) to create a suite of ready-to-use tests.

You can use the Code Quality Dashboard to examine code readiness and identify untested code paths using industry-standard code coverage metrics (condition, decision, and MC/DC). MATLAB Test Manager enables you to manage and execute test suites at scale and reduce test execution time by running only the tests impacted by recent code changes.

With MATLAB Test, you can trace and verify requirements (with Requirements Toolbox™) and ensure compliance in regulated applications requiring ISO® 26262 and IEC 61508standards (with IEC Certification Kit).

Get Started

Learn the basics of MATLAB Test

Create and Run MATLAB Tests

Create and run tests and test suites interactively and programmatically

Collect Decision, Condition, and MC/DC Coverage for MATLAB Code

Collect decision coverage, condition coverage, and modified condition/decision coverage (MC/DC) for MATLAB code

Measure and Manage Project Quality

Collect metric data for code, tests, and requirements in MATLAB projects

Verify Generated Code and Deployed Code Artifacts

Verify generated C/C++ code and deployed code artifacts by using equivalence tests

Tool Qualification and Certification

Qualify MATLAB Test for IEC certification