This function solves the problematic of show & hide elments while working with "tabs". You have to identify all the elements that belong to tab with "User Data" property. This function lets you manage all the elements with just one simple call.
In the zip you'll find an example of use in a GUI with two tabs.
Angel Calzada (2021). Highlight Tab objects easily (https://www.mathworks.com/matlabcentral/fileexchange/22488-highlight-tab-objects-easily), 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!