How to create a struct arrary in the app designer.
6 次查看(过去 30 天)
显示 更早的评论
I am creating a GUI in the app designer, and i have several list box and push button, they are all running based of call backs.
My questions are;
How do you save the inputs from the list boxes and push buttons.
How do create an array that save the information of each user without replacing the previous one
How do you link all the apps so that the infomration from each app is saved in the array
9 个评论
Jan
2022-11-12
Maybe it is easier to combine the set of GUIs into one GUI with different tabs.
It is not clear, what "record responses" mean. If you click on a GUI element, its value changes automatically. So afterwards you can request the property "Value".
Until now you have explained the purpose of the code by text only. Then an explicit suggestion for a modification of the code is not possible. Answering would be much easier, if you post the relevant part of the code.
采纳的回答
Vijay
2022-11-14
Hi @Nwasinachi
You can use a ‘TabGroup’ and reposition the ‘TabGroup’ such that the tab menu bar is out of visual boundary. Like in the following image:
Note: I have not completely hidden the TabGroup just to show you the idea.
If your app is resizable then you must dynamically adjust the position of TabGroup in resize callback of window.
If it is a fixed resolution, then you can fix everything to achieve the above shown layout.
You can use the callback of ‘Next’ and ‘Back’ to switch between tabs.
Hope this helps!
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!