Starting in R2019b, the Simulink.sdi.getGridOn
return values
changed to:
'on'
'horizontal'
'vertical'
'off'
In R2019a, the Simulink.sdi.getGridOn
returned a logical value:
true
or 1
— Horizontal and vertical grid
lines are shown on time plots in the Simulation Data Inspector.
false
or 0
— Horizontal and vertical grid
lines are hidden on time plots in the Simulation Data Inspector.
Starting in R2019b, the 'on'
return value is equivalent to the
true
or 1
return, and the 'off'
return value is equivalent to the false
or 0
return.