Simulink.sdi.useSignalColorForCompareTo
Determine whether comparison plot uses comparison signal color and line style
Since R2020b
Syntax
Description
Simulink.sdi.useSignalColorForCompareTo(
,
where colorOption
)colorOption
is true
or 1
,
applies the same color and line style for the comparison signal in the
Compare pane as in the Inspect pane. The default
value for colorOption
is false
or
0
, which uses the default solid line and dark orange color for the
comparison signal in the comparison.
Note
The Simulation Data Inspector uses the color and line style of the comparison signal at the time of comparison. Any changes to signal colors made after comparing data are not reflected in the Compare pane.
returns compareToColor
= Simulink.sdi.useSignalColorForCompareTo1
if the comparison uses the same color and line style for the
comparison signal in the Compare pane as in the
Inspect pane, or 0
if the comparison uses the
default solid line and dark orange color for the comparison signal.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020b