assertExecutionMatchesMATLAB
Class: matlabtest.compiler.TestCase
Namespace: matlabtest.compiler
Assert that deployed code artifact execution results match MATLAB results
Since R2023a
Syntax
Description
assertExecutionMatchesMATLAB(
asserts that the execution results specified by testCase
,executionResults
)executionResults
for
the deployed code artifact generated by MATLAB®
Compiler SDK™ match the execution of the MATLAB source code in the equivalence test case testCase
.
assertExecutionMatchesMATLAB(
returns diagnostic information specified by testCase
,executionResults
,diagnostic
)diagnostic
.
assertExecutionMatchesMATLAB(___,
specifies options using one or more name-value arguments in addition to the input arguments
in previous syntaxes.Name=Value
)
Input Arguments
Examples
Limitations
You cannot generate deployed code artifacts or test them for equivalence in MATLAB Online™.
Version History
Introduced in R2023a
See Also
Classes
matlabtest.compiler.TestCase
|matlabtest.compiler.results.ExecutionResults
|matlab.unittest.qualifications.Assertable