Rearranging appdesigner generated code sections?

13 views (last 30 days)
Is there a way to reorder generated code in app designer?. An example would be that I have user functions to select options called step1 through step4 then function for pushbutton to execute. Somehow the functions show up out of order and 1 shows up after pushbutton in code view. Really messy. I want to group functions together and in order of usage.
  2 Comments
Nuwan Liyanage
Nuwan Liyanage on 23 Jun 2022
Hi Roy,
I found this only now, but yes, the MATLAB 2020b has the functionality to reorder in the code browser window in the design view.

Sign in to comment.

Accepted Answer

CallumP
CallumP on 14 Aug 2020
I've written an app: https://uk.mathworks.com/matlabcentral/fileexchange/71838-hierarchyviewer which allows you to reorder components and callbacks

More Answers (0)

Community Treasure Hunt

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

Start Hunting!