Will App Designer file be compatible with software version control (e.g. git or svn) ?

9 vues (au cours des 30 derniers jours)
It seems the actual App Designer file is in a binary format. This makes it pointless for software version control. We can see the text in the protected editor so we can tell it's still a text file inside. Will it be possible to detach the text file from the gui development and then continue as an m file? If not then I think App Designer will be of limited use in complex GUI development.
  2 commentaires
Luke M
Luke M le 12 Jan 2017
I agree with this and would like to bring this back to the top. I know that appdesigner is in early stages of development, but I work on a project that has several branches, and using appdesigner would make it impossible to merge changes between those branches. It seems like a good idea and definitely has improvements over GUIDE, but as Sean mentioned, it is not something I'll be able to use for this project for this reason. Even GUIDE has a similar issue in the .fig files, but at least the bulk of the code resides in a .m file in that case.
Walter Roberson
Walter Roberson le 12 Jan 2017
Appdesigner is following the same framework as the .xlsx format: text files that are zip'd together in an archive. You can probably unzip and put the results under version control.

Connectez-vous pour commenter.

Réponse acceptée

Tish Sheridan
Tish Sheridan le 12 Nov 2018
Modifié(e) : Tish Sheridan le 24 Sep 2020
UPDATE: Starting in R2020b, you can use the Comparison Tool to diff and merge App Designer files. You can learn more about this new feature on this page: Compare and Merge Apps.
Previous answer for prior to 20b:
> Yes, as Steve said, you can use MATLAB Comparison Tool to diff but not merge App Designer files (mlapp).
  9 commentaires
David Wasserman
David Wasserman le 17 Nov 2023
They could make it compatible with Git by not using zip. You can concatenate everything in one file without using zip. The zip saves some space, but I don't think that benefit justifies breaking version control.
Walter Roberson
Walter Roberson le 17 Nov 2023
It is not a single file internally, it is a directory with subfolders and multiple XML file... using the international Open Documents standard.

Connectez-vous pour commenter.

Plus de réponses (2)

Steven Lord
Steven Lord le 12 Jan 2017
Are you concerned about being able to diff and/or merge the App Designer files? I haven't tested that following the steps to which I linked previously will allow your source control system to use the MATLAB Comparison Tool for App Designer files, but I suspect it will.
  1 commentaire
Luke M
Luke M le 13 Jan 2017
This seems like it could be a good solution. Here is the direct link. I set up TortiseSVN to use MATLAB for Diff and it seemed to work great. I didn't try it for Merge yet but assuming it works as expected, I think that's what I'd need. Thanks.

Connectez-vous pour commenter.


Walter Roberson
Walter Roberson le 6 Mai 2016
It uses a zip format of some kind. The first unarchiver I tried expanded it without difficulty.

Catégories

En savoir plus sur Source Control dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by