merge two apps in MATLAB App Designer into a single app

37 ビュー (過去 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 Center および File ExchangeDevelop 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