Saving multiple versions of GUI's?

5 views (last 30 days)
Jean
Jean on 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

Accepted Answer

Iain
Iain on 18 Jun 2013
Edited: Iain on 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 Comments
Jean
Jean on 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 on 18 Jun 2013
If you use separate folders, all you have to do is ensure that matlab has the correct working directory.

Sign in to comment.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!