The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: problem with savefig
Replies: 3   Last Post: Dec 5, 2012 8:18 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: problem with savefig
Posted: Jan 3, 2011 10:43 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Michel " <> wrote in message
> I am struggling to find a possible reason for the following error which
> crept up recently (and is not constant i.e works the first time I open
> Matlab and then is erratic) using savefig

>>> savefig('pcp_qc45-nrcan','png');
> ??? Error using ==> print at 364
> C:\Données\MRCC424\Region_sud\Grille45km\Analyses_45km\pcp_qc45-nrcan-temp.eps:
> Cannot open file: permission denied.
> Error in ==> savefig at 224
> print(fighdl, deps{:}, '-noui', renderer, res, [fname '-temp']);
> %
> Output the eps.
> Can anybody be of any help for any direction I might examine closely? the
> author is not supporting savefig any longer.
> Using : savefig 2.0 with Ghostscript 8.64, Matlab 7.11(R2010b) on Windows
> 7
> I cannot see any restrictions writing to the directory

There may not be any restrictions on the _directory_, but is some other
application using the _file_ (and denying permission to MATLAB to write to
the file?)

Steve Lord
comp.soft-sys.matlab (CSSM) FAQ:
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2017. All Rights Reserved.