execute
Class: matlabtest.compiler.TestCase
Namespace: matlabtest.compiler
Syntax
Description
executes the function in the build results object executionResults = execute(testCase,buildResults)buildResults with
no inputs by using MATLAB®
Compiler SDK™ in the equivalence test case testCase. Use this syntax if
your function has no inputs.
executes the function in the build results object with the inputs specified by
executionResults = execute(testCase,buildResults,inputs)inputs.
executes the function specified by executionResults = execute(testCase,buildResults,inputs,fcnName)fcnName. Use this syntax if your
deployed code artifact contains multiple functions.
preserves after a test failure the files that the test creates when it executes the deployed
code artifact.executionResults = execute(___,PreservingOnFailure=true)
Input Arguments
Output Arguments
Examples
Limitations
You cannot generate deployed code artifacts or test them for equivalence in MATLAB Online™.