compare
Compare runs referenced by Simulink.sdi.DatasetRef
objects
Description
[
returns the number of matches, number of mismatches, and comparison results for a
comparison between a Simulation Data Inspector run referenced by a
matches, mismatches, results] = compare(dsr,compRun)Simulink.sdi.DatasetRef object, dsr, and
another run, compRun. The comparison results are returned as a
Simulink.sdi.DiffRunResult
object.
Examples
Input Arguments
Output Arguments
Alternatives
You can create runs for the data and use the Simulink.sdi.compareRuns function for the comparison. You can also view
runs created from a simulation, import data to runs, and compare runs with the
Simulation Data Inspector.
Version History
Introduced in R2017b
See Also
Objects
Simulink.SimulationData.DatasetRef|Simulink.sdi.Run|Simulink.sdi.Signal|Simulink.sdi.DiffRunResult
Functions
getDatasetRef|getSignal|getElementNames|getElement|Simulink.sdi.compareRuns|Simulink.sdi.compareSignals