tempdir - Name of temporary folder for the system - MATLAB (original) (raw)

Name of temporary folder for the system

collapse all in page

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.

example

Examples

collapse all

temp = tempdir

temp =

'C:\Users\guest\AppData\Local\Temp\'

Extended Capabilities

expand all

Thread-Based Environment

Run code in the background using MATLAB® backgroundPool or accelerate code with Parallel Computing Toolbox™ ThreadPool.

Version History

Introduced before R2006a

See Also

delete | recycle | tempname

Topics