How to select a specific cell in UITable?

Illustration
yasin gedik - 2023-12-05T15:25:08+00:00
Question: How to select a specific cell in UITable?

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  

Expert Answer

Profile picture of John Michell John Michell answered . 2025-11-20

UITable.Data can return any of the following types: table array, numeric array, logical array, cell array, string array, or cell array of character vectors. If you run the following command you will be able to tell what type of data you are working with:

 

uit = app.UITable.Data;
class(uit)

"app.UITable" implies you are working within App Designer. Within App Designer, components/functions/properties specific to the app are called with the prefix "app.". It's just a syntax error, so if you add the prefix to you code that should allow you to interface with the UITable.


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!