% Import data into an existing run in the Simulation Data Inspector
%
% runID = Simulink.sdi.addToRun(runID,'vars',var,var2,...,varn) - adds data
% from one or more variables in the base workspace into the run with runID
% ID. Use this syntax to import data from multiple variables or from a
% variable that represents an array of objects, such as an array of
% Simulink.SimulationOutput or Simulink.SimulationData.Dataset objects.
%
% runID = Simulink.sdi.addToRun(runID,'file',filename) - adds data to a
% run from data in the file specified by filename.
%
% runID = Simulink.sdi.addToRun(runID,'file',filename,reader) - uses the
% file reader, reader, to add data to a run that contains the data in the
% file, filename. Use this syntax when multiple file readers that support
% the file with data to import are registered with the Simulation Data
% Inspector. To determine which readers are available for your file, use
% the io.reader.getSupportedReadersForFile function.
%
% runID = Simulink.sdi.addToRun(runID,'namevalue',sourceNames,sigValues)
% - adds datat to a run from data in the cell array sigValues. The cell
% array sourceNames specifies the source names used to set the RootSource,
% TimeSource, and DataSource properties for the signals imported from the
% sigValues cell array.

 
% Copyright 2011-2021 The MathWorks, Inc.

