Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: saveas error
Date: Fri, 20 Nov 2009 23:55:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 33
Message-ID: <he7a8o$4fj$1@fred.mathworks.com>
References: <he79kj$pji$1@fred.mathworks.com> <88ec2343-f4ed-48e8-9e48-a5b40f840f29@g1g2000pra.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1258761304 4595 172.30.248.35 (20 Nov 2009 23:55:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 20 Nov 2009 23:55:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1252087
Xref: news.mathworks.com comp.soft-sys.matlab:586810


Nathan <ngreco32@gmail.com> wrote in message <88ec2343-f4ed-48e8-9e48-a5b40f840f29@g1g2000pra.googlegroups.com>...
> On Nov 20, 3:44?pm, "Priya " <ramst...@gmail.com> wrote:
> > Usually I am able to save images in matlab. ?However something unusual happened today, which I have not been able to figure out. ?
> >
> > Here is in a example:
> >
> > >> plot(1:10)
> > >> saveas(gcf, 'test.tiff')
> >
> > ??? Error: File: printopt.m Line: 1 Column: 25
> > The input character is not valid in MATLAB statements or expressions.
> >
> > Error in ==> printjob at 70
> > [ pj.PrintCmd, pj.DefaultDevice ] = printopt; %Defaults
> >
> > Error in ==> print at 166
> > pj = printjob;
> >
> > Error in ==> saveas at 159
> > ? ? ? ? print( h, name, ['-d' dev{i}] )
> >
> > Can someone please help me figure out what is wrong? ?
> >
> > Thank you!
> 
> Dunno. It worked for me (Matlab r2007b, r2009a, and r2009b)
> 
> Strange.
> 
> -Nathan


I know, it used to work for me too earlier, but it is not anymore.