Multi- App/Class GUI with app designer

조회 수: 9 (최근 30일)
Phillip Wollschläger
Phillip Wollschläger 2021년 11월 8일
답변: Alamanda Ponappa Poovaya 2021년 11월 11일
Im currently trying to build a gui based plotting tool and want to modularize the gui. Right now I have 3 modules:
  • the main component "main", which would act like the root module
  • a row of plots, "plotting_row"
  • a "config_panel", to config what/how plots are created in the plotting_row
"main" should have one or more "plotting_row" stacked vertically. Each "plotting_row" consists at the top level of a TabGroup, with a "Config_Tab" and a "Plot_Tab". The "Config_Tab" should contain a "config_panel" and the "Plot_Tab" would be where the plots are created.
If possible Id like to do these 3 modules with the app designer, so there would be one .mlapp file for each:
  • main.mlapp
  • plotting_row.mlapp
  • config_panel.mlapp
But I cant find a way to integrate the sub-components into the container-components. Is that even possible or do I have to approach this in another way?
  댓글 수: 1
Rik
Rik 2021년 11월 8일
I am not sure this is possible with AppDesigner. Do you absolutely need to use is, or can you still switch to another system (e.g. class-based or function-based m-files)?
For general advice and examples for how to create a GUI have look at this thread.

댓글을 달려면 로그인하십시오.

채택된 답변

Alamanda Ponappa Poovaya
Alamanda Ponappa Poovaya 2021년 11월 11일
I understand that you essentially want to combine 3 .mlapp files into one GUI. Unfortunately this is not possible. Each mlapp file is a standalone app. While you can get these apps to share data, it is not possible to combine them in the way you have described.
You use UIPanels to group everything together, or you can refer to the link below which describes how to create a multiwindow app

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by