Using mlapp files as components of a larger UI
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a old matlab UI created programetically using the old "figure" functionality. It has multiple tabs all very crowded. It is getting to the point where I need to update this UI to the new 'uifigure' functionality. I would like to do this using Appdesigner as it generates much nicer code than GUIDE.
Is it possible to split a .mlapp app over several files? Having everything in 1 .mlapp file would be unmanagable and I would not be able to reuse some components such as custom data viewing panels with axes and customised controls.
Ideally I would like to programattically generate a uifigure and assign .mlapp files to certain pannels, tabs etc. I know this could be done by creating code in app designer and cutting and pasting it into a .m file, but this removes tha ability to edit controls using app designer at a later point, so maintainance would become more manual.
I would prefer to run files from the standard matlab command line as this gives me assess to improved debugging interface.
I am also awear that I can call custom diaglogue boses as seperate windows but am wanting these as a UI components not seperate windows.
https://au.mathworks.com/help/matlab/creating_guis/creating-multiwindow-apps-in-app-designer.html
0 Kommentare
Antworten (1)
Sivani Pentapati
am 2 Nov. 2021
Hi Alaster,
From my understanding you want to use mlapp files components as a part of larger UI. This can be done by creating custom components where you can add and customize the basic blocks to create a bigger component. They can be instantiated just like any other block. Please refer to the below link for more information on creation of custom UI components.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!