% Load and simulate sldemo_fuelsys model
openExample('simulink_automotive/ModelingAFaultTolerantFuelControlSystemExample')
load_system('sldemo_fuelsys')
sim('sldemo_fuelsys')
% Get the run ID for the run
runIDs = Simulink.sdi.getAllRunIDs;
runID = runIDs(end);
% Delete the run
Simulink.sdi.deleteRun(runID)