Simulink.sdi.copyRunViewSettings
Copy line style and color for signals from one run to another
Description
copies the line style and color specifications from sigIDs
= Simulink.sdi.copyRunViewSettings(run1
,run2
,plot
)runID1
to
runID2
for matched signals. You can specify
run1
and run2
with their run ID or as a
Simulink.sdi.Run
object. If
plot
is specified as true
,
Simulink.sdi.copyRunViewSettings
also changes signal
parameters in both runs so that aligned signals that are plotted come from the
run2
. The function returns an array of signal identifiers for
the signals that the Simulation Data Inspector aligned between the two runs. To
learn more about how the Simulation Data Inspector aligns signals between runs, see
How the Simulation Data Inspector Compares Data.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2016a