Scilab Function

lib - library definition

Calling Sequence

xlib = lib('lib-dir')



lib-dir is a character string defining a directory that contains compiled Scilab function (.bin) files.

In addition to these files lib-dir must have a file called names, that contains the names of the functions defined in lib-dir. On success, all functions in lib-dir are available from within Scilab. They are loaded on demand when called for the first time.

Binary files can be created from within Scilab with the command save.

Scilab's standard libraries are defined using lib on the SCIDIR/macros/* subdirectories.

A library variable usually is saved for later loading, either on-line or from the user-specific startup file (see startup).



See Also