Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - Français

Change language to:
English - 日本語 - Português

Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.
See the recommended documentation of this function

Manuel Scilab >> Gestionnaire de modules externe > tbx_build_gateway


Build a gateway (toolbox compilation process)

Calling Sequence

tbx_build_gateway(libname, names, files, [gateway_path [, libs [, ldflags [, cflags [, fflags [, cc [, makename [, ismex]]]]]]]])



a character string, the generic name of the library without path and extension.


2 column string matrix giving the table of pairs 'scilab-name', 'interface name'


string matrix giving objects files needed for shared library creation


Path to the sources of the gateway ; in a normal toolbox it should be the directory containing the builder_gateway_(lang).sce script (which should be the script calling this function). Default is current directory.


string matrix giving extra libraries needed for shared library creation


character strings to provide options for the loader, the C compiler and the Fortran compiler.


character string. The name of or path to the compiler.


character string. The path of the Makefile file without extension.

This parameter is useless since Scilab 5.0. Default value to use: [].

A warning will be displayed in Scilab 5.3 if you use another value that the default.


Internal variable to specify if we are working with mex or not.


// Recommended usage
tbx_build_gateway('mytoolbox', ['c_sum','sci_csum';'c_sub','sci_csub'], ['sci_csum.c','sci_csub.c'], ..
                  get_absolute_file_path('builder_gateway_c.sce'), ..

See Also


  • SL
<< tbx_build_cleaner Gestionnaire de modules externe tbx_build_gateway_clean >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:24:17 CET 2011