2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5 // This file must be used under the terms of the CeCILL.
6 // This source file is licensed as described in the file COPYING, which
7 // you should have received as part of this distribution. The terms
8 // are also available at
9 // http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 function path=get_function_path(name)
14 warning(" """+name +'"" is not a library function')
17 execstr('t=string('+libname+')')
19 if strindex(path,['SCI/','SCI\'])==1 then
20 path=SCI+part(path,4:length(path))
22 if fileinfo(path)==[] then
23 warning(msprintf(gettext("%s: There is no file named %s.sci in the library directory %s.\n"),"get_function_path",name,t(1)))