Signal labeler does not import timetable from workspace

조회 수: 7 (최근 30일)
Gustavo Ramirez
Gustavo Ramirez 2023년 12월 22일
답변: Ganesh 2023년 12월 22일
I have a timetable with three variables
When I click import from workspace, it's empty it does not show the time tables.
How can I use timetables with the signal labeler app?
I couldn't find any restriction on the documentation. According to the documentation timetables are supported

답변 (1개)

Ganesh
Ganesh 2023년 12월 22일
I understand that you are trying to import a "Timetable" data into the Signal Labeler, but you are unable to do so.
The reason you are encountering the issue is that, the time format you are using is a "DateTime" type. Signal Labeler app allows you to import "Timetable" data that is defined by a Timeseries. To give you better understanding, you can try creating the following type of "Timetable" which will allow your data to be imported by Signal Labeler app.
ts1 = timeseries(rand(5,1),[0 10 20 30 40],"Name","Series_1");
ts2 = timeseries(rand(5,1),[0 10 20 30 40],"Name","Series_2");
ts3 = timeseries(rand(5,1),[0 10 20 30 40],"Name","Series_3");
TT = timeseries2timetable(ts1,ts2,ts3)
When you open "TT", you can notice that the "Time" data is defined by seconds and not by a "DateTime" value.
In your case, you can modify your "Time" data to represent a timeseries. Kindly refer to the following documentation to know more about the "timeseries() function":
Hope this helps!

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by