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:
Loading figures error

Subject: Loading figures error

From: susan

Date: 13 Oct, 2010 00:57:04

Message: 1 of 3

Hi, this is the error message I get when I try to run:
load('C:\figures\for_paper\xyz.fig')

??? Error using ==> load
Unknown text on line number 1 of ASCII file
C:\figures\for_paper\xyz.fig
"MATLAB".

Thanks,
S

Subject: Loading figures error

From: Ross W

Date: 13 Oct, 2010 01:58:03

Message: 2 of 3

"susan" <suetibu@hotmail.com> wrote in message <i93050$g4t$1@fred.mathworks.com>...
> Hi, this is the error message I get when I try to run:
> load('C:\figures\for_paper\xyz.fig')
>
> ??? Error using ==> load
> Unknown text on line number 1 of ASCII file
> C:\figures\for_paper\xyz.fig
> "MATLAB".
>
> Thanks,
> S

From http://www.mathworks.com/help/techdoc/creating_plots/f9-34066.html

Opening a Figure File
To open a figure file, perform these steps:
Select Open from the File menu or click the Open button on the toolbar.
Select the figure file you want to open and click OK.
The figure file appears in a new figure window.
You can also use the open command.

Or ..., perhaps you want hgload?

Ross

Subject: Loading figures error

From: susan

Date: 13 Oct, 2010 02:15:06

Message: 3 of 3

Thank you. hgload is what I need.


"Ross W" <rosswoodskiwi@hotmail.com> wrote in message <i933nb$4na$1@fred.mathworks.com>...
> "susan" <suetibu@hotmail.com> wrote in message <i93050$g4t$1@fred.mathworks.com>...
> > Hi, this is the error message I get when I try to run:
> > load('C:\figures\for_paper\xyz.fig')
> >
> > ??? Error using ==> load
> > Unknown text on line number 1 of ASCII file
> > C:\figures\for_paper\xyz.fig
> > "MATLAB".
> >
> > Thanks,
> > S
>
> From http://www.mathworks.com/help/techdoc/creating_plots/f9-34066.html
>
> Opening a Figure File
> To open a figure file, perform these steps:
> Select Open from the File menu or click the Open button on the toolbar.
> Select the figure file you want to open and click OK.
> The figure file appears in a new figure window.
> You can also use the open command.
>
> Or ..., perhaps you want hgload?
>
> Ross

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