MATLAB GUI uitable

12 ビュー (過去 30 日間)
Eggo Ogge
Eggo Ogge 2011 年 3 月 1 日
コメント済み: Walter Roberson 2017 年 7 月 12 日
I have a table with 2 columns and 2 rows, to display all data in table I use the get(handles.uitable1, 'data') function.
But I want to display only one cell, for example the first column and the first row (1,1). How to format function now? I would be very thankful.

採用された回答

Paulo Silva
Paulo Silva 2011 年 3 月 1 日
Simple example
Data = {1, 2
3,4}
Data(:,1) %first column
Data(1,:) %first row
Data(1,1) %just the first cell
  3 件のコメント
Walter Roberson
Walter Roberson 2011 年 3 月 1 日
Data = get(handles.uitable1,'Data');
Data(1,1)
Eggo Ogge
Eggo Ogge 2011 年 3 月 1 日
it works, thank you!!

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

その他の回答 (1 件)

deekay uto
deekay uto 2011 年 3 月 1 日
sorry for disturbing, i want to ask, how i can call function in train button...i hve been asked to develop a system to predict rainfall,it required GUI..so i dont knw how to call bck the function at train button. on my gui i got mse,epoch,input node,stimulate and error. i really need ur opinion...regard
  2 件のコメント
KAE
KAE 2017 年 7 月 12 日
Ask as a separate question
Walter Roberson
Walter Roberson 2017 年 7 月 12 日
KAE: deekay uto would not have been notified about your comment. And as it is now 6 years later, deekay uto is probably not checking for responses.

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

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by