Duplicated GUIDE-created GUI not properly updating handles
1 view (last 30 days)
Show older comments
Hello,
I recently created a temporary version of a GUI created in guide by just simply saving it with another name in the same directory. I tried adding some additional functionality to it, but when I went to try it (it involves plotting data on two axes), I got the error "Reference to non-existent field 'axes1'. However, the GUI works just fine if I use the original file, and even if I create a fresh duplicate and do nothing to it, I get the same error.
Could there be some sort of conflict going on between the two files (either in the .fig or .m files) that could be causing this? A quick examination of the two showed no obvious conflicts, but I could be wrong.
Thanks.
0 Comments
Answers (1)
Joseph Cheng
on 27 Feb 2015
Edited: Joseph Cheng
on 27 Feb 2015
the original copy did you just saveas the mfile with a new name or did you saveas the .fig with a new name along with the mfile? and was your steps to create the copy the same for the fresh duplicate?
i would save as the .fig file to create the duplicate. that should create a new mfile with the same name with all the correct links.
0 Comments
See Also
Categories
Find more on Printing and Saving 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!