Simulates a test case for dynamic slicing from time "t1" to time "t2"
simulates a test case for dynamic slicing from time "t1" to time "t2". If t1 is a
non-zero value, the simulation first happens from zero to t2 and then the results
reported are trimmed automatically for the specified duration t1 to t2.
obj— Model Slicer configuration
Object containing Model Slicer configuration options.
(t1, t2)— Upper(t2) and lower(t1) time period boundaries for the simulation results of the sliced model
Desired time period to view simulation results for the sliced model. Post simulation and analysis the simulation results for the selected time period (t1 to t2) is displayed.
open_system('sldvSliceClimateControlExample'); obj=slslicer('sldvSliceClimateControlExample'); simulate(obj);
To open the Model Slice Manager, in the Simulink® Editor, select the APPS tab, and click Model Slicer. The initial simulation of the model in slicer mode gives you the option to select the upper boundary of the simulation time (t2), with 0 being the lower boundary (t1). Post simulation and analysis you can view the simulation results for the selected time period (t1 to t2). To select the desired time period to view simulation results, from the Model Slice Manager, enter the t1 and t2 values in the Time window field and click Highlight.