Scilab Function

genlib - build library from all functions in given directory

Calling Sequence

genlib(lib-name [,dir-name, [ force [,verbose]]])



For each .sci file in dir-name, genlib executes a getf and saves the functions to the corresponding .bin file. The .sci file must not contain anything but Scilab functions. If a .bin file is newer than the associated .sci file, genlib does not translate and save the file.

This default behaviour can be changed if force is given and set to %t. In this latter case the recompilation iis always performed for each .sci file.

When all .sci files have been processed, genlib creates a library variable named lib-name and saves it in the file lib in dir-name.

If verbose is et to %t informations are displayed during the build process.


See Also