Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: saveas error
Date: Fri, 20 Nov 2009 23:44:19 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 22
Message-ID: <he79kj$pji$1@fred.mathworks.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 1258760659 26226 172.30.248.35 (20 Nov 2009 23:44:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 20 Nov 2009 23:44:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1252087
Xref: news.mathworks.com comp.soft-sys.matlab:586805


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!