changes Scilab current directory
changes Scilab current directory
b = chdir(path) realpath = cd(path) cd path
a character string
. The default path ishome.a boolean: %t if chdir operation
is successful.
a character string, the real path name after pathname conversion (see below)
Change the current Scilab directory to those given by
path.
![]() |
--> chdir("SCI/etc")
ans =
T
--> pwd
ans =
C:\Programs\scilab\scilab-6.0.2\etc
--> cd ..
ans =
C:\Programs\scilab\scilab-6.0.2
--> cd TMPDIR
ans =
C:\Users\Me\AppData\Local\Temp\SCI_TMP_5444_26901
--> p = cd()
p =
C:\Users\Me
--> p == home
ans =
T