Can I change the specific cell in the uitable with a function I have created?
5 次查看(过去 30 天)
显示 更早的评论
Hi there i have a function that i created and I want to display text in a specific cell/results column according to the function. Am i able to do this in guide? How do I choose a specific cell in 'data' to edit and set(handles.uitable .... ) back to my table? Thank you!
0 个评论
采纳的回答
Gayatri Menon
2018-2-16
Hi,
The following code snippet might help. Here I am replacing the data of one of the cell in the uitable (tag:uitable1).
set(handles.uitable1,'Data',{'A1',52;'A2',40;'A3',25})
data=get(handles.uitable1,'Data')
data{2,1}='B2';
set(handles.uitable1,'Data',data)
Thanks
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!