フィルターのクリア

how to retrieve data from particular cell of uitable

10 ビュー (過去 30 日間)
CHETHAN S
CHETHAN S 2016 年 1 月 25 日
コメント済み: WAIL BOUGIDA 2021 年 7 月 20 日
I want to retrieve(or extract) data from particular cell of uitable.
Please help me in achieving the desired result with the code.

採用された回答

Walter Roberson
Walter Roberson 2016 年 1 月 25 日
data_cell = get(handles.uitable1, 'Data'); %get current table
desired_result = data_cell{7,19}; %get value from particular place
  2 件のコメント
CHETHAN S
CHETHAN S 2016 年 1 月 27 日
Thanks a lot.
You have saved me all the time. :)
WAIL BOUGIDA
WAIL BOUGIDA 2021 年 7 月 20 日
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'});

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by