Simulink.sdi.CustomSnapshot
R2026bSpecify settings for snapshot without opening or affecting the Simulation Data Inspector
Description
Use a Simulink.sdi.CustomSnapshot object to specify signals
and settings for a snapshot without opening the Simulation Data Inspector or affecting
an 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, the subplot layout, and
axis limits. You can use the clearSignals and
plotOnSubPlot functions to specify signals you want to include
in the snapshot. To capture the snapshot, either:
Use
Simulink.sdi.snapshot, setting theSettingsoption to theSimulink.sdi.CustomSnapshotobjectUse the
snapshotwith the object
Creation
Description
snap = Simulink.sdi.CustomSnapshot creates a
Simulink.sdi.CustomSnapshot object with default property
values. Use dot notation to customize snapshot options after creation.
Properties
Object Functions
clearSignals | Clear signals plotted on subplots of
Simulink.sdi.CustomSnapshot object |
plotOnSubPlot | Plot signals on Simulink.sdi.CustomSnapshot object
subplots |
snapshot | Create custom snapshot |
plotComparison | Plot comparison results on Simulink.sdi.CustomSnapshot
objects |
Examples
Version History
Introduced in R2018a
