How to select a specific cell in UITable?

17 次查看(过去 30 天)
There is an input and I want to get the other values in the row where this input is equal to one of the values in the first column of the UITable.
I think l need something like:
idx = UITable.ColumnName.SerialNumber==3
Thanks for your help!

采纳的回答

Taylor
Taylor 2023-12-4
[rows, ~] = find(value == UITable.Data)
UITable.Data(r,:)
  7 个评论
Walter Roberson
Walter Roberson 2023-12-5
Once you have done
uit = app.UITable.Data;
then what shows up for
uit.Properties.VariableNames
piston_pim_offset
piston_pim_offset 2023-12-5
I finally made it work by combining your answers @Taylor and @Walter Roberson Thanks a lot for your help!

请先登录,再进行评论。

更多回答(0 个)

类别

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