Name timetable values based on datetimes defining time range

13 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

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

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by