matlabtest.parameters.BaselineParameter Class
Namespace: matlabtest.parameters
Description
The matlabtest.parameters.BaselineParameter class represents a specific type of parameter used for
baseline testing. To create a baseline test, set a parameterization property in your test
class to a BaselineParameter object and then specify that property as an input
to a method that tests against the baseline data. For more information, see Create Baseline Tests for MATLAB Code.
A BaselineParameter object contains parameterization information for the
test. Similar to creating parameters from a cell array or structure assigned to a
parameterization property, the testing framework automatically transforms a
BaselineParameter object into the parameter required to run the baseline
test. For more information about test parameterization, see Use Parameters in Class-Based Tests.
The matlabtest.parameters.BaselineParameter class is a handle class.
Creation
To create a BaselineParameter object, use the matlabtest.parameters.matfileBaseline function.
Examples
Version History
Introduced in R2024b