Package: Simulink.sdi
Specify settings for a snapshot without opening or affecting the Simulation Data Inspector
Use a Simulink.sdi.CustomSnapshot
object to specify settings for a
snapshot you want to create without opening the Simulation Data Inspector or affecting
the open session. Creating a snapshot using a
Simulink.sdi.CustomSnapshot
object is the best option for fully
scripted workflows. You can specify the snapshot dimensions in pixels, the subplot
layout, and limits for the x- and y- axes. You
can use the clearSignals
and plotOnSubplot
methods
to plot signals you want to include in the snapshot. To capture the snapshot, you can
pass the Simulink.sdi.CustomSnapshot
object as the value for the
settings
name-value pair for the Simulink.sdi.snapshot
function or use the snapshot
method.
snap = Simulink.sdi.CustomSnapshot
creates a
Simulink.sdi.CustomSnapshot
object.
clearSignals | Clear signals plotted on subplots of a
Simulink.sdi.CustomSnapshot object |
plotOnSubPlot | Plot signals on Simulink.sdi.CustomSnapshot object
subplots |
snapshot | Create a custom snapshot |
Handle. To learn how handle classes affect copy operations, see Copying Objects.