Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.0 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> Files : Input/Output functions > Paths - Filenames > tempname

tempname

ユニークなファイル名を有するファイルを作成

呼び出し手順

tmp_name = tempname([prefix])

引数

tmp_name

文字列

prefix

文字列: ファイル名の接頭辞(Windowsでは,最大3文字).

説明

tempnameは, ユニークなファイル名を有するファイルをTMPDIR ディレクトリに作成します.

tmp_name = tempname() は,テンポラリなファイル名として使用可能な ユニークな文字列, tmp_nameを返します.

F1 = tempname()
isfile(F1)
F2 = tempname('TMP')
isfile(F2)

履歴

VersionDescription
5.4.0 関数tempnameが導入されました.
Report an issue
<< splitURL Paths - Filenames dispfiles >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 25 08:53:22 CET 2020