Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.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 manual >> Files : Input/Output functions > createdir

createdir

新規ディレクトリを作成

呼び出し手順

createdir('dirname')
status = createdir('dirname')

説明

createdir('dirname') はカレントのディレクトリに ディレクトリ dirname を作成します. dirname がカレントのディレクトリでない場合, カレントのディレクトリに対する相対パスまたは dirname への絶対パスを 指定してください.

[status] = createdir('dirname') は 既存のディレクトリ parentdir の中にディレクトリ dirname を作成し, ステータスとメッセージを返します. ここで,ステータスは成功時に %T, その他の場合 %F となります.

createdir は mkdirで使用されます.

createdir(SCIHOME+'/Directory_test')
removedir(SCIHOME+'/Directory_test')

参照

作者

  • A.C
<< copyfile Files : Input/Output functions deletefile >>

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:
Wed Jan 26 16:25:11 CET 2011