Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Jun 13, 2005
Messages
2
Location
US
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
 
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

Back
Top