Saving multiple versions of GUI's?

2 Ansichten (letzte 30 Tage)
Jean
Jean am 18 Jun. 2013
Hello, I am having some trouble in saving multiple versions of GUI's. I want to save multiple versions of the fairly complex GUI I am working on in order to be able to track progress/go back to previous versions if needed. But each new version seems to depend on the last. How do I fix this? I save within editor in Matlab, and try to save the figure from GUIDE with a new name also, and it still has past-version dependencies, leaving any edits in the new renamed version null. Thanks very much, Jean

Akzeptierte Antwort

Iain
Iain am 18 Jun. 2013
Bearbeitet: Iain am 18 Jun. 2013
Try a version control piece of software?
Subversion/Tortoise, Dimensions, etc.
Try using separate folders for different versions.
Use the name of the GUI for ONLY the current version, and save old versions with the version number.
The reason it depends on older versions is because the CALLBACKS are automatically generated, and do not update when you change the name of the GUI.
  2 Kommentare
Jean
Jean am 18 Jun. 2013
Thanks very much, I have tried the saving of old versions; yes, the callbacks are not updated, and this is the problem. I have also tried separate folders. There seems to be no use; always, the new version depends on the old one. Thanks anyways.
Iain
Iain am 18 Jun. 2013
If you use separate folders, all you have to do is ensure that matlab has the correct working directory.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Environment and Settings 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!

Translated by