MATLAB Answers

App Designer Tabs for already written Code

4 views (last 30 days)
Nando Käslin
Nando Käslin on 23 Sep 2019
Edited: Nando Käslin on 25 Sep 2019
I've written a GUI in App Designer and I now want to write an other one and then have them both in the same GUI and access each one over a tab.
Is there an easy way to copy the whole GUI into one tab? It doesn't let me edit all the code and I really don't want to do it all again.
Thanks for a good answer.
EDIT: Nevermind! You just have to drag (not copy paste) all the stuff into a tab if you want to have it there.

Answers (1)

awezmm
awezmm on 23 Sep 2019
Edited: awezmm on 23 Sep 2019
What do you mean access each one over a tab?
You can have a menu with buttons and if the user clicks on one button then you can redirect to a specific gui and if the user clicks on a different button then you can redirect to a different gui.
  1 Comment
Nando Käslin
Nando Käslin on 24 Sep 2019
Yes I know I could do this, but in the App Designer under Component Library/Containers there's a Tab Group and i think it's much nicer if I access the different GUIs over tabs.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!