how to retrieve data from particular cell of uitable
4 次查看(过去 30 天)
显示 更早的评论
I want to retrieve(or extract) data from particular cell of uitable.
Please help me in achieving the desired result with the code.
0 个评论
采纳的回答
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 个评论
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 Exchange 中查找有关 Structures 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!