GUI Program Crash on .fig Load

1 visualizzazione (ultimi 30 giorni)
Paul Huter
Paul Huter il 1 Dic 2012
I made some updates to my GUI .fig file - renaming everything (someone else created the initial GUI), moving things around, and adding a couple objects. I don't think I tried running the program/GUI without generating an error, but the last time I tried running it, I got a crash (which I could NOT Shift+F5 out of - I had to close MATLAB) that said something about an error loading the .fig file that was (probably) associated with a createfnc (or the like). I checked the GUI's .m file, and I thought all the renames had gone through.
Has anyone else experienced this?
Is there a way to force the GUI's .m file to update (i.e. force the changes on the .fig through to the .m)?
Anyone know how to fix this?
Thanks!

Risposta accettata

Matt Fig
Matt Fig il 1 Dic 2012
More details may be necessary. Did you make all of the changes through GUIDE? Did you save them as you went (change-save-check, change-save-check) or make lots of changes, then only at the end save and check (this would help narrow things down)? Did you save the changes through GUIDE? When you say you renamed things, do you mean you changed the 'tag' property, or what did you mean?
  7 Commenti
Paul Huter
Paul Huter il 2 Dic 2012
A lot of my callbacks in the .m file are underlined orange, and MATLAB says they appear not to be used...
Paul Huter
Paul Huter il 2 Dic 2012
To get it to open, I imported the data from the .fig, then looked at the "children" structure and figured out which object names were not matching up, then I went back and edited the .m file to match up the object names. Seems the .fig file was doing some weird mapping, because all the objects in the .fig (opened through GUIDE) have the names I gave them. But, my GUI opens, so I'm not going to worry about it.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by