Simulink.sdi.useSignalColorForBaseline
Determine whether comparison plot uses baseline signal color and line style
Since R2020b
Syntax
Description
Simulink.sdi.useSignalColorForBaseline(
,
where colorOption
)colorOption
is true
or 1
,
applies the same color and line style for the baseline 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 blue color for the baseline
signal in the comparison.
Note
The Simulation Data Inspector uses the color and line style of the baseline signal at the time of comparison. Any changes to signal colors made after comparing data are not reflected in the Compare pane.
returns baselineColor
= Simulink.sdi.useSignalColorForBaseline1
if the comparison uses the same color and line style for the
baseline signal in the Compare pane as in the
Inspect pane, or 0
if the comparison uses the
default solid line and dark blue color for the baseline signal.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020b