Main Content

Simulink.sdi.setMarkersOn

Show or hide markers for plotted signals

Description

Simulink.sdi.setMarkersOn(value) shows or hides markers on signals plotted in the Simulation Data Inspector according to the logical input, value. The function configures the Show markers setting in the Simulation Data Inspector. The setting applies to the session and shows or hides markers for all signals plotted in the Simulation Data Inspector. By default, markers are hidden in the Simulation Data Inspector.

example

Examples

collapse all

Simulink.sdi.setMarkersOn(true);

Input Arguments

collapse all

Logical specification of whether markers are shown on plots in the Simulation Data Inspector.

  • true or 1 shows markers on plots in the Simulation Data Inspector.

  • false or 0 does not show markers on plots in the Simulation Data Inspector.

Data Types: logical

Version History

Introduced in R2017b