필터 지우기
필터 지우기

How Can I open a matlab app from another matlab app?

조회 수: 59 (최근 30일)
Justin
Justin 2023년 5월 23일
답변: Saffan 2023년 5월 30일
I have a matlab app that has various gui components. there are sections in that main page of the app though wehre when you press a button i want it to open up another standalone matlab app. there are three buttons that need to open 3 standalone matlap appps. and also is there a way to package all these apps together in one download file so that when i redistribute this app it will automatically download the 4 apps

답변 (1개)

Saffan
Saffan 2023년 5월 30일
Hi Justin,
You can open other standalone MATLAB apps of the format .mlapp from the button callback function of the main app in the following way as shown in the sample code snippet:
% Button pushed function: app1Button`
function openApp1(app, event)
app1;
end
Follow these steps to package all the apps in a single download file:
  • Open main app in App Designer and click on share option in the Designer tab.
  • Choose the kind of app you want to create.
  • All the additional files and dependencies required for the main app are automatically detected and included for package creation.
  • You can add additional files as well if they are required.
  • Click on Package option.
  • This creates a single app installation file.
Refer to these links for more information on App Designer:

카테고리

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