How to compare Simulink.SimulationData.Dataset objects
4 views (last 30 days)
Show older comments
MathWorks Support Team
on 9 Aug 2022
Answered: MathWorks Support Team
on 9 Aug 2022
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
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
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!