how to get update data from uitable to pushbutton callback
显示 更早的评论
I have a problem with my program, I don't know how to get update data from uitable to pushbutton callback, I use this Cdata = get(handles.uitable2,'data'); but the data from uitable cannot update if I change this data from activated figure, please help me...
回答(3 个)
Image Analyst
2011-7-10
0 个投票
Not sure - just a wild guess - but you may need to call guidata() before you try to retrieve the data with get().
Oleg Komarov
2011-7-10
set(handles.uitable2,'data',magic(m,n))
where m and n should match the dimension of you uitable.
类别
在 帮助中心 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!