how would you merge several m.lapp to create one m.lapp

1 visualización (últimos 30 días)
Nwasinachi
Nwasinachi el 10 de Nov. de 2022
Comentada: Nwasinachi el 22 de Nov. de 2022
i have created several user interface using the app designer, the problem is that all ot these UI figures need to be ran with one code or rather with just one m.lapp, but i cannot figure out how to make all 5 m.lapp into 1 m.lapp.
Thank you.

Respuesta aceptada

Harshit Gupta
Harshit Gupta el 14 de Nov. de 2022
Hi Nwasinachi,
As per my understanding, you want to combine several “MLAPP” files into a single “MLAPP” file, so that all your UI figures can be run with one code/ one “MLAPP” file.
Unfortunately, there is no way currently to merge “MLAPP” files, in Git or outside, aside from a very manual process of comparing the files using the Comparison Tool and then adjusting the UI elements in the Design View to match the generated (greyed out) code.
The current recommendation for making this merge process less painful is to:
1) Migrate all non-UI code from within App Designer to outside functions and classes
2) Limit changes of the UI code to one developer at a time, to minimize the number of merge conflicts in MLAPP files
Point (1) also has the benefit of making the "business logic" or "backend" code testable and runnable outside of the application.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by