datetime variables from a timerange
Ältere Kommentare anzeigen
I have a timerange variable with a start time and end time. Is there a way extract those datetime values from a timerange variable?
2 Kommentare
Walter Roberson
am 21 Okt. 2020
Do you mean a timeseries object? You can use linspace between start and end time based on number of elements
J. Alex Lee
am 22 Okt. 2020
Walter, timerange is a datatype used to index timetables (and maybe do other things).
i have not had luck with this either. if i recall correctly, you can't "char" a timerange right? but since presumably you create your timerange variable from 2 datetimes, just save those as their own variables first?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!