×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

setting temporary directory

setting temporary directory

setting temporary directory

(OP)
This may seem like a stupid question, but how do I set the temporary directory?  Currently, tempdir returns temp\.  This file does not exist.  I can create 'temp' in my working directory and my program will run, but I would rather change the Matlab setting.

Thanks,
Jason

RE: setting temporary directory

I believe that MatLab gets the temporary directory from you PCs settings. It is not a setting in MatLab.

Your temporary directory is setup in your PC's environmental variables. To change it (if you are using Windows 2000), go to Start->Settings->Control Panel->System->Advanced->System->Environment Variables.

Hope this helps.

RE: setting temporary directory

(OP)
Thanks....that worked.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources