%% Delete Transition From Test Sequence
% This example deletes a transition from the test sequence.

% Copyright 2020 The MathWorks, Inc.

%% Load the Model
model = 'sltestRollRefTestExample';
load_system(model);

%% Delete the Transition and Close the Model
% Delete the transition from the test step |SetKnobAndPhi| under the 
% parent step |TurnKnobAndAttitude|.
sltest.testsequence.deleteTransition...
   ('sltestRollRefTestExample/Test Sequence',...
   'TurnKnobAndAttitude.SetKnobAndPhi',1)

close_system(model,0);