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

Geoff Hayes
Geoff Hayes 2022년 12월 22일
@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 2022년 12월 22일
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 2022년 12월 23일
@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 2022년 12월 23일
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 2022년 12월 23일
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 2022년 12월 23일
thanks, I will check

댓글을 달려면 로그인하십시오.

답변 (1개)

Mo
Mo 2023년 1월 4일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

Mo
2022년 12월 22일

답변:

Mo
2023년 1월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by