compare
Class: Simulink.sdi.DatasetRef
Package: Simulink.sdi
Compare runs with DatasetRef objects
Syntax
[matches, mismatches, results] = dsrObj.compare(other)
Description
[
returns the number of matches, number of mismatches, and comparison results for a
comparison of data in a matches
, mismatches
, results
] = dsrObj.compare(other
)Simulink.sdi.DatasetRef
object. The
comparison results are returned as a Simulink.sdi.DiffRunResult
object.
Input Arguments
Output Arguments
Examples
Alternatives
Using the Simulation Data Inspector API, you could create runs for the data you want
to compare and use Simulink.sdi.compareRuns
for the
comparison. You can also view runs created from simulation, import data to runs, and
compare runs with the Simulation Data Inspector UI.
Version History
Introduced in R2017b