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
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().
Hadha
Hadha 2011년 7월 10일

0 개 추천

I have called guidata before use get, myform = guidata(gcbo); do you have any idea to resolve my problem?
Oleg Komarov
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에 대해 자세히 알아보기

질문:

2011년 7월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by