Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Gui fig file is empty

Subject: Gui fig file is empty

From: David Smith

Date: 1 Apr, 2010 20:57:04

Message: 1 of 2

I have this recurring problem when developing a gui. The fig file gets saved with zero size and I have to redesign the gui from scratch. To 'fix' this problem I have to resave whenever I make any changes to a different gui filename. For example, I am on version 14 of one of my guis. Anyone have an idea why this might be happening?

Thanks,
Dave

Subject: Gui fig file is empty

From: Steven Lord

Date: 2 Apr, 2010 14:15:58

Message: 2 of 2


"David Smith" <davsmith@adobe.com> wrote in message
news:hp31b0$1e5$1@fred.mathworks.com...
>I have this recurring problem when developing a gui. The fig file gets
>saved with zero size and I have to redesign the gui from scratch. To 'fix'
>this problem I have to resave whenever I make any changes to a different
>gui filename. For example, I am on version 14 of one of my guis. Anyone
>have an idea why this might be happening?

You haven't given us a lot of information to work with. I recommend you
contact Technical Support with the following information:

1) What OS you're using.
2) What version of MATLAB you're using.
3) How you're desigining the GUI -- via GUIDE or programmatically.
4) If you have a backup copy of a GUI that has since had its FIG-file become
size 0, send that backup copy.
5) Keep track of the steps you follow in using your GUI, and when the file
gets corrupted include specific detailed steps of how you interacted with
the GUI (click on these buttons, enter this text into this edit box, etc.)

That way they can work with you to determine what's causing this behavior.
In fact, the process of collecting the 5th piece of information may show you
some step you're performing that inadvertantly causes this behavior. I'd be
on the lookout for any SAVE, IMWRITE, or PRINT calls in your code,
personally.

--
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us