フィルターのクリア

Help with GUI Table

2 ビュー (過去 30 日間)
Rodrigo Trigona
Rodrigo Trigona 2012 年 9 月 28 日
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

採用された回答

Matt Fig
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)
  2 件のコメント
Rodrigo Trigona
Rodrigo Trigona 2012 年 9 月 28 日
Can I get specific cells in a variable, like D2 = D(2,10:13). It gets the second row and the cells 10 to 13
Matt Fig
Matt Fig 2012 年 9 月 28 日
Sure, why not?

サインインしてコメントする。

その他の回答 (1 件)

choma community
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

カテゴリ

Help Center および File ExchangeTables についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by