Delete test sequence block symbol
Delete a Test Sequence Symbol Programmatically
This example shows how to delete a data symbol programmatically from a Test Sequence block. The data symbol
DurationLimit is a constant.
1. Load the model.
Model = 'sltestRollRefTestExample'; load_system(Model);
2. Delete the constant
DurationLimit from the Test Sequence block.
sltest.testsequence.deleteSymbol('sltestRollRefTestExample/Test Sequence',... 'DurationLimit');
3. Close the model.
symbolName — Symbol name
Name of the symbol to delete in the Test Sequence block, specified as a character vector.