Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: big bug with GUIDE
Date: Tue, 20 Jan 2009 00:38:02 +0000 (UTC)
Organization: Technion
Lines: 29
Message-ID: <gl36da$6ih$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1232411882 6737 172.30.248.38 (20 Jan 2009 00:38:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 20 Jan 2009 00:38:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1278435
Xref: news.mathworks.com comp.soft-sys.matlab:512590


Hi, 

I work with matlab R2008a, and I have encountered serious problem when I have tried to create a GUI using GUIDE.

Today, it is the third time that I got the following error:

?? Error using ==> hgload at 53
invalid Figure file format

Error in ==> openfig at 72
    [fig, savedvisible] = hgload(filename, struct('Visible','off'));

Error in ==> gui_mainfcn>local_openfig at 286
    gui_hFigure = openfig(name, singleton, visible);

Error in ==> gui_mainfcn at 159
        gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt, gui_Visible);

Error in ==> Mike_Viewer3D_2 at 42
    gui_mainfcn(gui_State, varargin{:});

Each time, this error occur after matlab has crashed. Each time the ".fig"  file could not be opened again and I had to start writing again the GUI from the beginning.
I am really frustrated and I do not know what to do.

I really need help,
Is there a way to recover, or at least open the corrupted ".fig" file in order to try to correct it?

Thank you in advance 
 Mike