Wrap a Python method as a Scilab macro.
pyDeff(moduleName, funNames, sciNames)
A string
A matrix of strings
A matrix of strings with the same dimension as funNames
Create Scilab macros wrapping Python functions. The result of a macro invocation is automatically unwrapped when it is possible.
pyDeff("os.path", ["getsize" "getatime"], ["pyFileSize" "pyGetAtime"]); pyFileSize(pathconvert("SCI/modules/elementary_functions/macros/cosh.sci", %f)) pyGetAtime(pathconvert("SCI/modules/elementary_functions/macros/cosh.sci", %f)) | ![]() | ![]() |
Version | Description |
5.4.0 | Python module. |