MATLAB Answers

Translated by

このページのコンテンツは英語から自動翻訳されています。自動翻訳をオフにする場合は「<a class="turn_off_mt" href="#" onclick="window._kiq.push(['set', { 'event': 'Turn off MT' }]);">ここ</a>」をクリックしてください。


MATLAB GUI, using guide

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

  0 件のコメント

サインイン to comment.


1 件の回答

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

  2 件のコメント

Masoud Kavoosi 2019 年 3 月 14 日
Thank you Kevin for your answer, it gives me the hint to solve the problem. Actually the code below wrks for me.
I have another quesion. The table by default shows 2 columns and 4 rows. how can I set it? I would like the table cover the whole area or even doesn't show anything at all and just a white area. I tried to set it using the table inspector but it just shows 2 columns and 4 rows as you can see in the attached photo to my post.
Thank you again
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'.

サインイン to comment.

Translated by