How to plot user entered data set in app design
显示 更早的评论
Hi, I am developing an app where the user enters time, speed, and g-force (slope) values. Which gets stored and displaced in a table format on the app design. Once the user has finished adding the values, I have a generate plot button. How do I take the data from that table to display it in a graph. I did try to use " readtable " command but since the table is not in a sperate file it does not work.

回答(1 个)
Cris LaPierre
2022-7-24
data = app.UITable.Data
plot(app.UIAxes,data(:,1),data(:,2),data(:,1),data(:,3))
类别
在 帮助中心 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!