MATLAB Answers

MATLAB GUI, using guide

1 ビュー (過去 30 日間)
Masoud Kavoosi
Masoud Kavoosi 2019 年 3 月 14 日
コメント済み: Kevin Phung 2019 年 3 月 14 日
Hey guys,
I am developing a GUI, I have a cell of results with like 30 rows and 8 columns. I want to show this cell in a table in my GUI. Please take a look at the attached photo to see which table I exactly mean.
I would greatly appreciate any help.
Thank you

採用された回答

Kevin Phung
Kevin Phung 2019 年 3 月 14 日
The table has a 'Data' property.
So you can do something like this:
table_handle.Data = data_matrix
%or
set(table_handle,'Data',data_matrix)
  2 件のコメント
Kevin Phung
Kevin Phung 2019 年 3 月 14 日
I dont work with guide, so i don't know the structure of your code.
perhaps you can set a condition where if your table is empty, you can turn the 'Visible' Property to 'off', and once youve plot your data, you can turn it 'on'.
set(handles.TableTag,'Visible','off');

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

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by