UI items placed on layout editor not saving in m file
Show older comments
I moved both the .fig and .m files to another directory... has this broken their link? Is there a way to fix?
Answers (1)
Image Analyst
on 5 Nov 2013
0 votes
No. Just open GUIDE and then File->Open the .fig file and everything will be fine.
4 Comments
Image Analyst
on 6 Nov 2013
Stevie's "Answer" moved here:
I decided to add a pushbutton to the layout editor and its callback was saved to the m file as it should be. But a callback for the radio button I have added will not save in the m file.
Any ideas? I can use a pushbutton, but I would like to understand why the radio button is not registering.
Image Analyst
on 6 Nov 2013
Did you right-click the button and view the callback, and then click the save button in GUIDE? Otherwise, attach your m-file and .fig file so I can verify that the radio button will not create a callback when you (try to) view it.
StevieNewRoad
on 6 Nov 2013
Image Analyst
on 6 Nov 2013
Please Accept the Answer so everyone will know you're done with it. Thanks.
Categories
Find more on Interactive Control and Callbacks 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!