MATLAB Function Reference    
tempdir

Return the name of the system's temporary directory

Syntax

Description

tmp_dir = tempdir returns the name of the system's temporary directory, if one exists. This function does not create a new directory.

See Opening Temporary Files and Directories for more information.

See Also

tempname


  tanh tempname