Main Content

Get Started with MATLAB Test

Generate, manage, and execute tests for MATLAB programs
Since R2023a

MATLAB® Test™ provides tools for measuring, testing, and improving the quality of your MATLAB code. Generate basic tests or use MATLAB Copilot to generate a suite of tests that are ready to run. You can also generate tests from your command history, and equivalence tests for MATLAB Coder™ and MATLAB Compiler SDK™ artifacts.

Use the Code Quality Dashboard to examine code readiness and identify untested code paths using industry-standard code coverage metrics, such as decision, condition, and modified condition/decision coverage (MC/DC). Use the MATLAB Test Manager to manage and execute test suites 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 61508 standards (with IEC Certification Kit).

Videos

What is MATLAB Test video.

What Is MATLAB Test?
Develop, manage, analyze, and test MATLAB applications using MATLAB Test.

Visualize MATLAB Code Quality video.

Visualize MATLAB Code Quality
Visualize and measure the quality of your MATLAB code using the MATLAB Test Code Quality Dashboard.

Measure Code Coverage in MATLAB video.

Measure Code Coverage in MATLAB
Measure how much of your MATLAB Test application or algorithm is covered by testing.

Equivalence Testing for Code Integrity video.

Equivalence Testing for Code Integrity
Create and run equivalence tests that compare the results produced by your MATLAB code with the results produced by code generated with MATLAB Coder or MATLAB Compiler SDK.