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

2 vues (au cours des 30 derniers jours)
Nwasinachi
Nwasinachi le 10 Nov 2022
Commenté : Nwasinachi le 22 Nov 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.

Réponse acceptée

Harshit Gupta
Harshit Gupta le 14 Nov 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.
  1 commentaire
Nwasinachi
Nwasinachi le 22 Nov 2022
Thank you i created a tabgroup with callback function

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by