Main Content

Simulink.sdi.getMarkersOn

Determine if data markers are shown in the Simulation Data Inspector

Description

example

markersOn = Simulink.sdi.getMarkersOn returns a logical value indicating whether data markers are displayed on plots in the Simulation Data Inspector.

Examples

collapse all

You can check and store the value of the Show markers setting in the Simulation Data Inspector from the command window or in a script.

markersOn = Simulink.sdi.getMarkersOn;

Output Arguments

collapse all

Logical indication of whether markers are displayed on plots in the Simulation Data Inspector.

  • true or 1 indicates that markers are displayed.

  • false or 0 indicates that markers are not displayed.

Version History

Introduced in R2017b