MATLAB App designer 2019 a

2 views (last 30 days)
Hussein Rida
Hussein Rida on 9 Aug 2020
Answered: Walter Roberson on 10 Aug 2020
I want to import an excel sheet, that i will use it as a database.
How can i use a push button, when i click this button, the table will be generated, and i can select from the table a row.
Thank you!

Answers (1)

Walter Roberson
Walter Roberson on 10 Aug 2020
readtable() and set the table itself as the Data property of a uitable() .
Use a CellSelectionCallback https://www.mathworks.com/help/matlab/ref/matlab.ui.control.tableappd-properties.html#bvboy7l-1-CellSelectionCallback to get a callback when the user clicks on the table.

Categories

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

Community Treasure Hunt

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

Start Hunting!