merge two apps in MATLAB App Designer into a single app

조회 수: 22 (최근 30일)
Marwa Sami
Marwa Sami 2024년 5월 2일
댓글: Marwa Sami 2024년 5월 2일
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