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: Save to current user Desktop (on Windows)
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
spasmous

Posts: 303
Registered: 12/10/05
Save to current user Desktop (on Windows)
Posted: Nov 13, 2012 5:19 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I wrote a MATLAB program that grabs a screenshot and writes it to the desktop. Since I never planned on sharing it, it had my Desktop path hardcoded in. However, now I would like to generalize the code.

What is the general path to the desktop on Windows? I tried ~/image.tif and Desktop\image.tif but these do not work.



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.