get primitives list of a module
readgateway(module_name) primitives = readgateway(module_name); [primitives,primitivesID] = readgateway(module_name); [primitives,primitivesID,gatewayID] = readgateway(module_name);
a string
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
.
With xmlGetValues():
// Example with the console 5.5.2-like module: path = "SCI/modules/console/sci_gateway/console_gateway.xml"; xmlGetValues("//GATEWAY/PRIMITIVE",["primitiveName" "primitiveId" "gatewayId"], path) | ![]() | ![]() |
ans = !clc 1 53 ! !tohome 2 53 ! !lines 3 53 ! !prompt 4 53 ! !iswaitingforinput 5 53 !
// Example with the signal_processing Scilab-6-like module: path = "SCI/modules/signal_processing/sci_gateway/signal_processing_gateway.xml"; xmlGetValues("//module/gateway", "function", path) | ![]() | ![]() |
ans = !fft ! !corr ! !rpem ! !amell ! !delip ! !remez ! !syredi ! !conv2 !
Version | Description |
5.5.2 | readgateway was removed after Scilab 5.5.2.
Please use xmlGetValues(..) instead. |