How to select a specific cell in UITable?

17 visualizaciones (últimos 30 días)
piston_pim_offset
piston_pim_offset el 4 de Dic. de 2023
Comentada: piston_pim_offset el 5 de Dic. de 2023
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!

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by