Skip to content

P_tmpdir

miscellaneous · scripts/miscellaneous/P_tmpdir.m

P_TMPDIR  Default temporary directory name used by the C library.
  D = P_TMPDIR() returns '/tmp' on POSIX hosts and '\' on Windows
  (Octave name; matches the C library P_tmpdir shape Nexus already
  ships in octave-script-support). MATLAB has no public P_tmpdir;
  portable code should use tempdir. Unmarked MATLAB-mode scripts that
  never call this name are unaffected.

  See also TEMPDIR, TEMPNAME, TMPFILE.