%

% Copyright 2016-2018 The MathWorks, Inc.

function autoblkConVehShftOptStart(varargin)
autoblkConVehStart;
add_block('SiCiPtReferenceApplication/Subsystem1','SiCiPtReferenceApplication/Subsystem2');
set_param('SiCiPtReferenceApplication/Subsystem2','Openfcn','OptimizeShiftScheduleForBestFuel(bdroot(gcb));');
set_param('SiCiPtReferenceApplication/Subsystem2','ForegroundColor','black');
set_param('SiCiPtReferenceApplication/Subsystem2','BackgroundColor','cyan');
set_param('SiCiPtReferenceApplication/Subsystem2','position',[520 525 680 582]);
set_param('SiCiPtReferenceApplication/Subsystem2','MaskDisplay',...
    strcat('disp(''',(getString(message('autoblks:autoblkVehMask:optim'))),...
    '\n',(getString(message('autoblks:autoblkVehMask:shift'))),''')'));
save_system('SiCiPtReferenceApplication');
end