tempname

Returns an unique temporary filename.

📝 Syntax

  • f = tempname()

  • f = tempname(path)

📥 Input argument

  • path - a string: an existing directory used instead of tempdir().

📤 Output argument

  • f - a string: an unique temporary filename.

📄 Description

Returns the name of an unique temporary filename.

💡 Example

r = tempname()

🔗 See also

mkdir, tempdir.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?