remove
Class: sltest.testmanager.BaselineCriteria
Package: sltest.testmanager
Remove baseline criteria
Syntax
remove(bc)
Description
remove(
removes
the baseline criteria from a test case. The baseline criteria object
is empty after a call to this function.bc
)
Input Arguments
bc
— Baseline criteria
sltest.testmanager.BaselineCriteria
object
Baseline criteria that you want to remove from a test case,
specified as a sltest.testmanager.BaselineCriteria
object.
Examples
Remove Baseline Criteria
Open the model for this example.
sldemo_absbrake
Create the test file, test suite, and test case structure.
tf = sltest.testmanager.TestFile('API_Test_File.mldatx'); ts = createTestSuite(tf,'API Test Suite'); tc = createTestCase(ts,'baseline','Baseline API Test Case');
Remove the default test suite.
tsDel = getTestSuiteByName(tf,'New Test Suite 1');
remove(tsDel);
Assign the system under test to the test case.
setProperty(tc,'Model','sldemo_absbrake');
Capture the baseline criteria.
baseline = captureBaselineCriteria(tc,'baseline_API.mat',true);
Remove the baseline criteria.
remove(baseline)
Clear the Test Manager.
sltest.testmanager.clear sltest.testmanager.clearResults sltest.testmanager.close
Version History
Introduced in R2015b
See Also
Apri esempio
Si dispone di una versione modificata di questo esempio. Desideri aprire questo esempio con le tue modifiche?
Comando MATLAB
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)