Keep old data in uitable
显示 更早的评论
Hello,
I would like to know how i can keep data in the UItable?
I have 2 GUIs. In the Sub GUI i type in variables and save them in one matrix. The uitable in the Main GUI gets the matrix. When i close the sub GUI and want to open it again because i want to add a new row of variables, the old data in the Main GUI uitable is gone.
回答(1 个)
Walter Roberson
2012-7-4
0 个投票
No, when you destroy the uitable by closing the sub GUI, it loses its existence and there is nothing there anymore to remember the contents it had.
Consider the possibility of setting the Visible property of the sub-GUI off instead of closing the sub-GUI.
3 个评论
类别
在 帮助中心 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!