Version 1.2.1 (34.8 KB) by CallumP
Modify appdesigner component stacking order and callback order


Updated Tue, 18 Aug 2020 14:47:10 +0000

View License

Allows for the component order to be changed of a .mlapp file. Callback order may also be changed.

Load your app into HierarchyViewer where the components all callbacks in your app are displayed. Once ordering has been determined, press save to apply the changes. Your app will then automatically be opened in appdesigner where it needs to be saved again in order for changes to persist.

HierarchyViewer uses uitrees which were not formally introduced into Matlab until 2017b. However, some functionality may have existed beforehand so it may work but there is no guarantee.
Do not open the .mlapp file in pre-2018 versions. The uitrees will result in the app breaking. Use the included .m file which is the same code if you need to edit functionality.

Cite As

CallumP (2023). HierarchyViewer (https://www.mathworks.com/matlabcentral/fileexchange/71838-hierarchyviewer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with R2016b and later releases
Platform Compatibility
Windows macOS Linux
Find more on Develop Apps Using App Designer in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Added icon alternatives if .png icons are not found
Uses char function to obtain symbols
Added .m file as an alternative to the .mlapp file


Buttons for alphabetical sorting and expand/collapse all
Fixes so should now work with Mac and Linux


Now works with pre-2018 MATLAB