%% Torque Converter Two-mode Example
% Copyright 2020 The MathWorks, Inc.
%
% Run this live script to start simulation with the selected signal group in Signal Builder block and see plots of simulation result.

if not(bdIsLoaded('sdl_torque_converter_two_mode'))
    open_system('sdl_torque_converter_two_mode')
end
signal_group = signalbuilder('sdl_torque_converter_two_mode/Input Signals', 'activegroup');
if signal_group==1
  sdl_torque_converter_two_mode_plot2lockup
elseif signal_group==2
  sdl_torque_converter_two_mode_plot3drive
elseif signal_group==3
  sdl_torque_converter_two_mode_plot4coast
end
clear signal_group