Name timetable values based on datetimes defining time range

조회 수: 4 (최근 30일)
Hi,
I'm not able to extract values in my timetable.
My datetime format is:
30-Aug-2019 10:26:01.000
.. and I'm defining a timerange as seen below.
% ttableA.Time | ttableA.Var1_1 | ttableA.Var1_2 | ttableA.Var1_3 |
%30-Aug-2019 10:26:01.000 | Value | Value | Value
app.timeinterval = timerange(app.DatetimeStart,app.DatetimeEnd)
app.id= app.ttableA(app.timeinterval,'Var1_1')
app.UITable.Data = [
{'-' max(app.id) '-' '-' '-' '-' '-' '-'};
{'-' '-' '-' '-' '-' '-' '-' '-'};...
What's an easy way to extract values from variables in a timetable, do simple calculations and plot it in a UITable?

채택된 답변

Cris LaPierre
Cris LaPierre 2021년 4월 12일
You may find the page Access Data in a Table helpful.

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by