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

3 次查看(过去 30 天)
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?

采纳的回答

MathWorks Support Team
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 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

标签

尚未输入任何标签。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by