Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - Français

Change language to:
English - 日本語 - 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

Manuel Scilab >> Entrées/Sorties [fichiers] > chdir

chdir

change le répertoire courant de Scilab

cd

change le répertoire courant de Scilab

Séquence d'appel

chdir(path)
realpath=cd(path)
cd path

Paramètres

path

une chaîne de caractères fournissant le chemin du répertoire.

realpath

une chaîne de caractères, le chemin effectif après conversion (voir ci-dessous)

Description

Change le répertoire courrant de Scilab par celui donné par la variable path. Notez que le chemin fourni est converti. Ainsi SCI/modules/fileio/macros est un chemin valide pour Unix et Windows. Si path est vide , le chemin de destination est alors "home".

Exemples

chdir(TMPDIR);
pwd
cd 
cd SCI

Voir Aussi

<< Entrées/Sorties [fichiers] Entrées/Sorties [fichiers] fullfile >>

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:24:14 CET 2011