Name timetable values based on datetimes defining time range

1 view (last 30 days)
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?

Accepted Answer

Cris LaPierre
Cris LaPierre on 12 Apr 2021
You may find the page Access Data in a Table helpful.

More Answers (0)

Categories

Find more on Exponents and Logarithms in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!