When you want to put a set of components in a particular tab, just place them all on a panel. Position the panel the way you want it and then write down the position that you want to place it in. When you want to work with another tab, just create an new panel. To make the panels you don't want to work with "invisible", just type an huge number for the x position(ie 2000) This is so that it won't clutter up your work on your current panel. Repeat this for as many panels as You like. When you want to target/retrieve a specific panel, just use the object browser. When you're done. Save it and on the opening function, position all the panels with the numbers you had written down. Also make all of the panels invisible except your current one. I have a list box that upon clicking on it, it will make the previous one invisible and the current selected panel visible. You can also choose to use buttons instead of a listbox but with a listbox, you can save space and can make you gui as large as you wish it to be.
Chun Zheng (2021). a new way to tab for GUIDE (https://www.mathworks.com/matlabcentral/fileexchange/14599-a-new-way-to-tab-for-guide), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!