How to create a struct arrary in the app designer.
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nwasinachi
el 11 de Nov. de 2022
Comentada: Nwasinachi
el 16 de Nov. de 2022
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 comentarios
Jan
el 12 de Nov. de 2022
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.
Respuesta aceptada
Vijay
el 14 de Nov. de 2022
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!
Más respuestas (0)
Ver también
Categorías
Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!