This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

tempdir

Name of temporary folder for the system

Syntax

temp = tempdir

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\'

Introduced before R2006a