Metanet atom package not working (scilab 5.3.1 linux 64bits)

Antoine Monmayrant antoine.monmayrant at laas.fr
Wed Apr 13 10:29:53 CEST 2011


Hi everyone,


I need to solve some kind of salesman problem so I tried to install 
Metanet from Atom.
It seems there is a problem: the install says everything is fine but 
after re-launching Scilab I have many problems.
First, none of the functions provided by Metanet (like salesman or 
show_graph) are listed in the help.
Second, if I try to run some example code (like the one given for 
salesman), it fails badly.
Last, some functions seems to be missing, or at least partially missing: 
if I type "edit show_graph" I got an empty prototype of the function:

---------------------------------------------------------------------------
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2002-2008 - INRIA - Serge STEER <serge.steer at inria.fr>
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution.  The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt

function win=show_graph(GraphList,smode,scale,winsize)

endfunction
---------------------------------------------------------------------------

The calling convention seems to correspond to the macro listed on 
forge.scilab.org ( 
http://forge.scilab.org/index.php/p/metanet/source/tree/master/macros/graph_tools/show_graph.sci 
) but the inner code is missing. If I try to call "show_graph(g)" I get 
an error (guess what, win is undefined!).
For some other functions, it seems to be OK: "edit salesman" gives the 
correct function code.

I tried to uninstall/relaunch/reinstall/relaunch but no luck.
Does anyone know what's going on here?
Any idea on how to fix it?

Cheers,


Antoine



More information about the users mailing list