Borrar filtros
Borrar filtros

how to retrieve data from particular cell of uitable

10 visualizaciones (últimos 30 días)
CHETHAN S
CHETHAN S el 25 de En. de 2016
Comentada: WAIL BOUGIDA el 20 de Jul. de 2021
I want to retrieve(or extract) data from particular cell of uitable.
Please help me in achieving the desired result with the code.

Respuesta aceptada

Walter Roberson
Walter Roberson el 25 de En. de 2016
data_cell = get(handles.uitable1, 'Data'); %get current table
desired_result = data_cell{7,19}; %get value from particular place
  2 comentarios
CHETHAN S
CHETHAN S el 27 de En. de 2016
Thanks a lot.
You have saved me all the time. :)
WAIL BOUGIDA
WAIL BOUGIDA el 20 de Jul. de 2021
I do have the same purpose, retrieving data from a UITable. I would like to get an array of the elements of each columns. However, I get the following error: Unable to use a value of type cell...
Here is my piece of code: Please help me out
Data = get(app.UITable, 'Data');
Xs = Data(:,{'x'});
Ys = Data(:, {'y'});
Zs = Data(:, {'Z'});

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by