Main Content

tempdir

Name of temporary folder for the system

Description

example

temp = tempdir returns the name of the temporary folder for the system, if one exists. tempdir does not create a new folder.

Examples

collapse all

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