merge two apps in MATLAB App Designer into a single app

26 vues (au cours des 30 derniers jours)
Marwa Sami
Marwa Sami le 2 Mai 2024
Commenté : Marwa Sami le 2 Mai 2024
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

Réponses (1)

Animesh
Animesh le 2 Mai 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:

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by