How to select a specific cell in UITable?

조회 수: 14 (최근 30일)
piston_pim_offset
piston_pim_offset 2023년 12월 4일
댓글: piston_pim_offset 2023년 12월 5일
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