指定した相対パス名に関する完全なパス名を作成する.
res = fullpath(relative_path)
文字列または文字列の行列
文字列または文字列の行列
fullpath(relative_path)
は,
指定した相対パス名に関する完全なパス名を作成します.
cd(TMPDIR); mkdir(TMPDIR + "/niv1"); mkdir(TMPDIR + "/niv1/niv2"); mkdir(TMPDIR + "/niv1/niv2/niv3"); mputl(' ', TMPDIR + "/niv1/test1.txt"); mputl(' ' , TMPDIR + "/niv1/niv2/test2.txt"); cd(TMPDIR + "/niv1/niv2/niv3"); r1 = fullpath("../../test1.txt") r2 = fullpath("../test2.txt") M = ["../../test1.txt", "../test2.txt"]; R = fullpath(M) | ![]() | ![]() |
Version | Description |
5.4.0 | 管理された文字列の行列 (SEP 72) |