Main Content
Simulink.sdi.setGridOn
Configure grid lines for time plots in the Simulation Data Inspector
Description
Simulink.sdi.setGridOn(
configures the
grid lines for time plots in the Simulation Data Inspector according to the input,
grid
)grid
. The function configures the Horizontal and
Vertical options on the Time Plot section of the
Visualization Settings in the Simulation Data Inspector. The settings
apply to the session and configure the grids for all time plots. By default, the Simulation
Data Inspector shows horizontal and vertical grid lines.