merge two apps in MATLAB App Designer into a single app

23 次查看(过去 30 天)
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

回答(1 个)

Animesh
Animesh 2024-5-2
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:

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by