From: Kartik Kumar on
Hi,

I've had this problem for some time now and I've never resolved it; just bypassed it by creating my figures again from scratch.

Basically, the problem I am having is that sometimes saved .fig files open up as logical variables as opposed to in a figure window. I don't know if the figure is completely corrupted or if I can still recover it. I also don't know what causes this to happen.

I would greatly appreciate any assistance because I'm wasting a lot of time now recreating a lot of figures.

Thanks,

Kartik
From: Matt Fig on
Could you elaborate a little more? How are you opening the figures? Are the figures being opened on the same system which created them? How were they saved? How do you know they are logical variables?
From: Kartik Kumar on
"Matt Fig" <spamanon(a)yahoo.com> wrote in message <hii8m1$rki$1(a)fred.mathworks.com>...
> Could you elaborate a little more? How are you opening the figures? Are the figures being opened on the same system which created them? How were they saved? How do you know they are logical variables?

Hi,

I open the figures through the main GUI by going to File > Open and selecting the figure. This opens up the Import Wizard dialogue box, which shows one variable to import, of the class Logical.

They were saved using the Figure GUI File > Save option and I am opening them on exactly the same system as they were saved on (saved them yesterday and trying to open them this morning).

If you need any other info let me know.

Thanks in advance,

Kartik
From: Andy on
"Kartik Kumar" <myspam4ever(a)yahoo.com> wrote in message <hii98d$5t2$1(a)fred.mathworks.com>...
> "Matt Fig" <spamanon(a)yahoo.com> wrote in message <hii8m1$rki$1(a)fred.mathworks.com>...
> > Could you elaborate a little more? How are you opening the figures? Are the figures being opened on the same system which created them? How were they saved? How do you know they are logical variables?
>
> Hi,
>
> I open the figures through the main GUI by going to File > Open and selecting the figure. This opens up the Import Wizard dialogue box, which shows one variable to import, of the class Logical.
>
> They were saved using the Figure GUI File > Save option and I am opening them on exactly the same system as they were saved on (saved them yesterday and trying to open them this morning).
>
> If you need any other info let me know.
>
> Thanks in advance,
>
> Kartik

Are you trying to run the GUI, or open it for editing? If the former, then just type the name of the GUI at the command line. If the latter, then type:

guide <filename>

at the command line.
From: Kartik Kumar on
"Andy " <theorigamist(a)gmail.com> wrote in message <hiic67$i3t$1(a)fred.mathworks.com>...
> "Kartik Kumar" <myspam4ever(a)yahoo.com> wrote in message <hii98d$5t2$1(a)fred.mathworks.com>...
> > "Matt Fig" <spamanon(a)yahoo.com> wrote in message <hii8m1$rki$1(a)fred.mathworks.com>...
> > > Could you elaborate a little more? How are you opening the figures? Are the figures being opened on the same system which created them? How were they saved? How do you know they are logical variables?
> >
> > Hi,
> >
> > I open the figures through the main GUI by going to File > Open and selecting the figure. This opens up the Import Wizard dialogue box, which shows one variable to import, of the class Logical.
> >
> > They were saved using the Figure GUI File > Save option and I am opening them on exactly the same system as they were saved on (saved them yesterday and trying to open them this morning).
> >
> > If you need any other info let me know.
> >
> > Thanks in advance,
> >
> > Kartik
>
> Are you trying to run the GUI, or open it for editing? If the former, then just type the name of the GUI at the command line. If the latter, then type:
>
> guide <filename>
>
> at the command line.

Hi,

I am trying to reopen the figure to edit it. When I run the guide command I get the following error:

"Unhandled internal error in guidefunc:

Error using => load
Unable to read MAT-file <path>: not a binary MAT-file.
Try LOAD -ASCII to read as text.
Error in ==> hgload at 43
Error in ==> guidefunc>newGuideFig at 2213
Error in ==> guidefunc>readSavedFigure at 2605
Error in ==> guidefunc at 114
Error in ==> guide at 132"

Does this mean the figure is corrupted? If it is, is there a clear source of the corruption? I'd like to know what is causing this as it happens frequently with figures that I save.

Thanks,

Kartik