assertExecutionMatchesMATLAB
Class: matlabtest.coder.TestCase
Namespace: matlabtest.coder
Assert that generated C/C++ code execution results match MATLAB results
Since R2023a
Syntax
Description
assertExecutionMatchesMATLAB(
asserts that the execution results specified by testCase,executionResults)executionResults for
the C/C++ code generated by MATLAB®
Coder™ 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
Name-Value Arguments
Examples
Version History
Introduced in R2023a
See Also
Classes
matlabtest.coder.TestCase|matlabtest.coder.results.ExecutionResults|matlab.unittest.qualifications.Assertable