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 Comments

@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)?
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?
@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?
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).
Take a look at creating apps communicate each other with app designer to see if that provides an idea of what to do.
thanks, I will check

Sign in to comment.

Answers (1)

Mo
Mo on 4 Jan 2023
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.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Release

R2019b

Asked:

Mo
on 22 Dec 2022

Answered:

Mo
on 4 Jan 2023

Community Treasure Hunt

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

Start Hunting!