Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University 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: 17,944
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 " <slivitz@cite.net> wrote in message
news:ifhv9k$4gq$1@fred.mathworks.com...
> 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
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlab.wikia.com/wiki/FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com




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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.