Effacer les filtres
Effacer les filtres

how to retrieve data from particular cell of uitable

10 vues (au cours des 30 derniers jours)
CHETHAN S
CHETHAN S le 25 Jan 2016
Commenté : WAIL BOUGIDA le 20 Juil 2021
I want to retrieve(or extract) data from particular cell of uitable.
Please help me in achieving the desired result with the code.

Réponse acceptée

Walter Roberson
Walter Roberson le 25 Jan 2016
data_cell = get(handles.uitable1, 'Data'); %get current table
desired_result = data_cell{7,19}; %get value from particular place
  2 commentaires
CHETHAN S
CHETHAN S le 27 Jan 2016
Thanks a lot.
You have saved me all the time. :)
WAIL BOUGIDA
WAIL BOUGIDA le 20 Juil 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'});

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by