matlabtest.compiler.TestCase Class
Namespace: matlabtest.compiler
Superclasses: matlab.unittest.TestCase
Description
Use the matlabtest.compiler.TestCase class to generate and test MATLAB®
Compiler SDK™ deployed code artifacts for equivalence with MATLAB source code. Running equivalence tests for deployed code artifacts requires MATLAB
Compiler SDK. This class inherits from matlab.unittest.TestCase.
The matlabtest.compiler.TestCase class is a handle class.
Creation
Create a class definition file that inherits from matlabtest.compiler.TestCase. Author test
methods in a methods block to define the test case.
Methods
Examples
Limitations
You cannot run tests that inherit from
matlabtest.compiler.TestCasewith parallel execution.You cannot generate deployed code artifacts or test them for equivalence in MATLAB Online™.
Version History
Introduced in R2023a