How to compare Simulink.S​imulationD​ata.Datase​t objects

4 views (last 30 days)
I've an array of Simulink.SimulationData.Dataset object.
I want to compare each of them and eliminate duplicated datasets.
Are there any way to compare Dataset objects?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 9 Aug 2022
You can compare contents of datasets by isequal function, if you extract them into tables using extractTimetable method(introduced in R2021b) or ts2timetable function.
https://jp.mathworks.com/help/simulink/slref/simulink.simulationdata.dataset.extracttimetable.html
https://jp.mathworks.com/help/matlab/ref/timeseries2timetable.html

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!