From contact at pierre-vuillemin.fr Tue Nov 3 10:24:25 2015 From: contact at pierre-vuillemin.fr (Pierre Vuillemin) Date: Tue, 03 Nov 2015 10:24:25 +0100 Subject: [Scilab-Dev] Generating a library from sci files containing many functions Message-ID: <79ba86b0863a282da15bc2a5845a838c@pierre-vuillemin.fr> Hi all, I am creating a set of tools aimed at simplifying the writing (and resolution to some extend) process of optimisation problems (see http://sopi.pierre-vuillemin.fr/doku.php). At the moment, it is mainly a set of Scilab macros that I load using getd. Yet, I've started to package it like a "standard" Scilab module. Following the tutorial here : http://wiki.scilab.org/howto/Create%20a%20toolbox I've created the builders, etc. My problem is that I've gathered my functions in some .sci files and that genlib does not 'see' all the functions available in them. I wonder if there is a way to build a library that extracts all the functions from a .sci file or if I must separate all the functions in different files. I would like to avoid the latter solution as my functions are gathered in a way that make sense for the development. The only workaround I've found so far is to create an empty function in each sci file which has the same name as the file and call these empty functions during loading. Yet this is neither very elegant nor practical. Best regards, Pierre Vuillemin