1
<?xml version="1.0" encoding="UTF-8"?>
3
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4
* Copyright (C) XXXX-2008 - INRIA
6
* This file must be used under the terms of the CeCILL.
7
* This source file is licensed as described in the file COPYING, which
8
* you should have received as part of this distribution. The terms
9
* are also available at
10
* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="get_absolute_file_path" xml:lang="ja">
15
<refname>get_absolute_file_path</refname>
17
Scilabでオープンしたファイルの絶対パス名を出力します.
22
<synopsis>pathname = get_absolute_file_path(filename)</synopsis>
30
<para>文字列 : ファイル名</para>
36
<para>文字列 : 絶対パス名</para>
47
<para>get_absolute_file_path は
48
Scilabで現在オープンしているファイルの内部リストの中で
49
filename を検索し,そのパスを返します.
51
<para>"get_absolute_file_path" は,
52
Scilabが現在オープンしているファイルの内部リストの中で
53
"filename" を検索し,そのパスを出力します.
55
<para>オープンされていない場合,エラーを返します.</para>
56
<para>警告 : 以前のバージョン (scilab 5.0.x) では,
61
Scilabスクリプトを実行する(パス)を見つけるために
67
<programlisting role="example"><![CDATA[
70
a=mopen(TMPDIR+'test.sce','wt');
71
disp(get_absolute_file_path('test.sce'));
75
<refsection role="see also">
77
<simplelist type="inline">
79
<link linkend="getshortpathname">getshortpathname</link>
82
<link linkend="getlongpathname">getlongpathname</link>
85
<link linkend="pwd">pwd</link>