Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - 日本語 - Русский

Please note that the recommended version of Scilab is 6.1.1. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab help >> Advanced functions > Built-in & external > readgateway


get primitives list of a module

Calling Sequence

primitives = readgateway(module_name);
[primitives,primitivesID] = readgateway(module_name);
[primitives,primitivesID,gatewayID] = readgateway(module_name);



a string

primitives, primitivesID, gatewayID

matrices of string


readgateway(module_name) gets primitives list of a module_name.

primitives: list of primitives of a module_name.

primitivesID: list of ID for primitives.

gatewayID: list of ID of gateway associated to a module_name.


[primitives,primitivesID,gatewayID] = readgateway('core');
primitives(1) // 'debug' primitive
primitivesID(1) // 1 is ID of 'debug' in 'core' gateway
gatewayID(1) // 13 is ID of 'core' gateway in scilab

See Also

  • getmodules — returns list of modules installed in Scilab
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Apr 02 17:36:24 CEST 2013