Multi- App/Class GUI with app designer

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