Help with GUI Table
1 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
Matt Fig
on 28 Sep 2012
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)
2 Comments
More Answers (1)
choma community
on 5 Oct 2012
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 Comments
See Also
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!