MATLAB App designer 2019 a

2 次查看(过去 30 天)
Hussein Rida
Hussein Rida 2020-8-9
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!

回答(1 个)

Walter Roberson
Walter Roberson 2020-8-10
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.

类别

Help CenterFile 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!

Translated by