compare
Class:Simulink.sdi.DatasetRef
Package:Simulink.sdi
Compare runs with DatasetRef objects
Syntax
[匹配,不匹配的结果s] = dsrObj.compare(other)
Description
[
returns the number of matches, number of mismatches, and comparison results for a comparison of data in amatches
,mismatches
,results
] = dsrObj.compare(other
)Simulink.sdi.DatasetRef
object. The comparison results are returned as aSimulink.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 useSimulink.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.