フィルターのクリア

Matlab guide uitable will not let me delete columns or change format, how do I fix?

8 ビュー (過去 30 日間)
Julie
Julie 2016 年 3 月 11 日
Hi, I am making a GUI in Matlab using the guide function. I have a table with differently formatted columns. When I try to delete a column Matlab automatically adds a blank column to the end and messes up all of the formatting. If I try to change the formatting from a logical to a choice list, the default value in the cell is "False" even if this is not a choice. Also if the column was originally a choice list then the default is blank. I can re-make the table, but as I have quite a few choice lists and I have to put in each entry individually (ideas on this would also be appreciated) it is quite time consuming every time I try to edit the table. Is there anything I can do?
Note: I cannot post pictures due to confidentiality. I also noticed that when I try to change the number of rows it will not take unless I title every row and choose the "show names as entered below option". Than I can switch back and all the rows will still exist.
  2 件のコメント
Geoff Hayes
Geoff Hayes 2016 年 3 月 14 日
Julie - which version of MATLAB are you using?
Julie
Julie 2016 年 3 月 18 日
8.5.0.197613 (R2015a)

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

回答 (1 件)

Alexandre Cucatti dos Santos
Alexandre Cucatti dos Santos 2019 年 7 月 12 日
I had a similar problem and my troubleshooting was:
1 - go to the 'data' tab on the property editor of the uitable
2 - check the 'Do not set value and leave table empty'
3 - go back to the 'columns' tab and add/delete/etc
(4) - go back to the 'data' tab and adjust to whichever data is necessary to be there
Hope this helps!

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by