/usr/lib/scilab-ann/etc/ANN_toolbox.start is in scilab-ann 0.4.2.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | // =============================================================================
// Allan CORNET
// Copyright DIGITEO 2010
// Copyright INRIA 2008
// =============================================================================
mprintf("Start ANN Toolbox 0.4.2.4\n");
if isdef("ANN_toolboxlib") then
warning("ANN Toolbox 0.4.2.4 library is already loaded");
return;
end
etc_tlbx = get_absolute_file_path("ANN_toolbox.start");
etc_tlbx = getshortpathname(etc_tlbx);
root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") );
//Load functions library
// =============================================================================
mprintf("\tLoad macros\n");
pathmacros = pathconvert( root_tlbx ) + "macros" + filesep();
ANN_toolboxlib = lib(pathmacros);
clear pathmacros;
// Load and add help chapter
// =============================================================================
if or(getscilabmode() == ["NW";"STD"]) then
mprintf("\tLoad help\n");
path_addchapter = pathconvert(root_tlbx+"/jar");
if ( isdir(path_addchapter) <> [] ) then
add_help_chapter("ANN Toolbox 0.4.2.4", path_addchapter, %F);
clear add_help_chapter;
end
clear path_addchapter;
end
// Load demos
// =============================================================================
if or(getscilabmode() == ["NW";"STD"]) then
mprintf("\tLoad demos\n");
pathdemos = pathconvert(root_tlbx+"/demos/ANN.dem.gateway.sce",%F,%T);
add_demo("ANN Toolbox 0.4.2.4", pathdemos);
clear pathdemos add_demo;
end
clear root_tlbx;
clear etc_tlbx;
|