Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting temporary directory

Status
Not open for further replies.

jason6791

Electrical
Jun 13, 2005
2
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
 
Replies continue below

Recommended for you

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor