%% 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.

close_system(Model,0);

%
% Copyright 2012 The MathWorks, Inc.