필터 지우기
필터 지우기

GUI Program Crash on .fig Load

조회 수: 2 (최근 30일)
Paul Huter
Paul Huter 2012년 12월 1일
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!

채택된 답변

Matt Fig
Matt Fig 2012년 12월 1일
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
Paul Huter
Paul Huter 2012년 12월 2일
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 2012년 12월 2일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by