Help with GUI Table
조회 수: 2 (최근 30일)
이전 댓글 표시
What function can I use to read specific cells on a table in GUI???. The user will write numbers and i need to read specif cells, like A1:A4 and A6:A7
댓글 수: 0
채택된 답변
Matt Fig
2012년 9월 28일
This creates a table. Once it is created, edit some of the cells until you are content.
T = uitable('data',magic(3),'columnedit',true(1,3));
Now, to get the data, do:
D = get(T,'data');
If you only need some of the data, index into D. For example, to get the entire second row:
D2 = D(2,:);
or to get the entire second column:
D2 = D(:,2)
추가 답변 (1개)
choma community
2012년 10월 5일
i dont know build gui from this my work...please help me to do me work please download this link below and correctly my work...thanks before
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!