Feed on
Posts
Comments

after upgrading to matlab 7.0, i started getting the following error messages when saving figures:

>> saveas(gcf,’me.jpg’,'jpg’);
??? Error using ==> print
Error using ==> graphics/private/name
Cannot create output file ‘me.jpg’

Error in ==> saveas at 140
print( h, name, [’-d’ dev{i}] )

the solution: write full filenames in saveas:

>> saveas(gcf,’/Users/me/me.jpg’,'jpg’);

Stumble it!

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS

More blogs about http://desk.stinkpot.org:8080/tricks.