App Designer Input Headers for Table
显示 更早的评论
Hello!
I have been searching for what I want, but have been unsecessful in finding it. I am building a tool in App Designer that allows someone to input a text file with row and columns of data. I have been able to get the data file imported using a button that allows you to select the file and places it in a table. What I want to be able to do is allow the user to enter the headers for the columns. Is there an easy way that this can be done?
Thanks!
回答(1 个)
Cris LaPierre
2022-7-8
编辑:Cris LaPierre
2022-7-8
0 个投票
You could set the 'VariableNames' property of the table passed to the uitable.
- By default, the column names displayed in the app match the VariableNames property of the table array. Changing the ColumnName property of the Table UI component updates the UI, but it does not update the variable names in the table array.
类别
在 帮助中心 和 File Exchange 中查找有关 Tables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!