<< pyUnwrap Python Interaction Mechanism in Scilab pyUseNumpy >>

Python Interaction Mechanism in Scilab >> Python Interaction Mechanism in Scilab > pyUnwrapRem

pyUnwrapRem

Unwrap a Python object into Scilab data and remove it.

Calling Sequence

x_1 [, x_2 ...] = pyUnwrapRem(X_1 [, X_2 ...])

Arguments

X_i

A Python object

x_i

A double or boolean or integer or string matrix.

Description

Unwrap Python objects into Scilab data (see pyUnwrap) and remove the arguments from Python environment.

This function is useful when used with objects returned by ohter functions.

Examples

pyImport math
py = pyBuiltin();
py_sqrt = pyGetAttr(math,"sqrt");
res = pyUnwrapRem(py.map(py_sqrt, (1:10)^2))

pyRemove math py py_sqrt

See Also

History

VersionDescription
5.4.0 Python module.

Report an issue
<< pyUnwrap Python Interaction Mechanism in Scilab pyUseNumpy >>