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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Save to current user Desktop (on Windows)
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

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]

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