App designer update plot and table

Hi
Is there anyway in App Designer to add data in table and see its updates in a form of plot? for example, if I create a Main window (Main App) to process raw data and save the results in UI. Table, then export the table data (day 1) to another window (results App), how the table/ plot in the results App could be updated from next data entry (day 2)?
The right order :
Data processing (day 1) in Main App > Export to Results table (day 1) in Results App >>
Data processing (day 2) in Main App > Expoer Results table (day 2) and savec day 2 in Results App with Day 1 together and so on
every new data entry will be updated in the Results App along with previous days results

6 Kommentare

Geoff Hayes
Geoff Hayes am 22 Dez. 2022
@Mo - to be clear, you have two apps? One that will export data and one that will import that data (to show on a plot)?
Mo
Mo am 22 Dez. 2022
yes, there are 2 apps as multi-window function. From the main app to export the data and in the second app plot the data but im not sure anytime I export new data whether the second app updates the current table/plot to keep old and new values (my wish) together or it creates a new plot everytime? I want to add new data to one plot every time to chart the trend in my variables. any idea?
Geoff Hayes
Geoff Hayes am 23 Dez. 2022
@Mo - how does the second app "know" that it should update its plots with new data? Does your first app "tell" the second app to update? What code do you have for updating the plots?
Mo
Mo am 23 Dez. 2022
that is my general question on how to code the two apps to link them for live update such as filling a form and getting the data on the table (app 2) by clicking on export button (app 1).
Geoff Hayes
Geoff Hayes am 23 Dez. 2022
Take a look at creating apps communicate each other with app designer to see if that provides an idea of what to do.
Mo
Mo am 23 Dez. 2022
thanks, I will check

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Mo
Mo am 4 Jan. 2023

0 Stimmen

I tried this method and can get the data from Edit number but not a table. How I can trasnfer the table data from app1 to table in app 2. These are my codes and apps.
app1 (form) and app2 (report). I want to send the table data from app1 (form) to the table in app2 (report). I could successfully transfer 'Age' data but cannot do anything with the table. The insert button just generate random numbers in the table (app1).
Thanks.

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2019b

Gefragt:

Mo
am 22 Dez. 2022

Beantwortet:

Mo
am 4 Jan. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by