2.11 Libraries

Libraries are collections of functions which can be either automatically loaded into the Scilab environment when Scilab is called, or loaded when desired by the user. Libraries are created by the lib command. Examples of librairies are given in the SCIDIR/macros directory. Note that in these directory there is an ASCII file ``names'' which contains the names of each function of the library, a set of .sci files which contains the source code of the functions and a set of .bin files which contains the compiled code of the functions. The Makefile invokes scilab for compiling the functions and generating the .bin files. The compiled functions of a library are automatically loaded into Scilab at their first call. To build a library the command genlib can be used (help genlib).