merge two apps in MATLAB App Designer into a single app

22 views (last 30 days)
Hello, please, I have two apps in MATLAB App Designer (app1.mlapp and app2.mlapp). I want to build an application that contains these two apps, allowing me to navigate between app1 and app2. I have already coded and designed both of them. When I run each app individually, they work fine. However, now I want to group them together to create a single application that contains both of these apps

Answers (1)

Animesh
Animesh on 2 May 2024
You can create a third application with MATLAB App Designer and call the other two applications from it. The callback might look something like this:
function buttonPushed(app, event)
app2
end
You can use either two different buttons for switching between the applications or any other trigger activity as per the requirement.
Also, you can refer the following MATLAB answer if you need information on sharing data between the three applications:

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!