Simulink.sdi.save
R2026bSave Simulation Data Inspector session
Description
Simulink.sdi.save( saves all
runs, signals, and visualization settings for all tabs as a Simulation Data
Inspector session in the file fileName)fileName.
A session file includes data as well as visualization information from all tabs (since R2026b). Use the Simulink.sdi.load function to open
a session file in the Simulation Data Inspector. When the session file opens, you
can choose to add the data to existing data in the Simulation Data Inspector or
clear the existing data.
Using the Simulink.sdi.save function to save a Simulation
Data Inspector session does not create a thumbnail preview image, resulting in a
smaller file size compared to saving through the user interface.
To save only the visualization information across all tabs for reuse with other
sets of data, use Simulink.sdi.saveView.
Simulink.sdi.save(
saves runs, signals, and visualization settings in a session file according to the
options specified by name-value pairs. (since R2024b)fileName,Name=Value)