tempdir - Name of temporary folder for the system - MATLAB (original) (raw)
Name of temporary folder for the system
Syntax
[temp = tempdir](#d126e1821448)
Description
temp = tempdir
returns the name of the temporary folder for the system, if one exists. tempdir
does not create a new folder.
Examples
temp = tempdir
temp =
'C:\Users\guest\AppData\Local\Temp\'
Extended Capabilities
Thread-Based Environment
Run code in the background using MATLAB® backgroundPool
or accelerate code with Parallel Computing Toolbox™ ThreadPool
.
Version History
Introduced before R2006a