Scilab 6.0.2
- Aide de Scilab
- Java depuis Scilab
- Getting started - Beginning
- Getting started - Second step
- jallowClassReloading
- jarray
- jautoTranspose
- jautoUnwrap
- jcast
- jcompile
- jcreatejar
- jdeff
- jdisableTrace
- jenableTrace
- jexists
- jgetclassname
- jgetfield
- jgetfields
- jgetinfo
- jgetmethods
- jimport
- jinvoke
- jinvoke_db
- jnewInstance
- jnull
- jremove
- jsetfield
- junwrap
- junwraprem
- jvoid
- jwrap
- jwrapinchar
- jwrapinfloat
- new
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
jdeff
Map a static Java method onto a Scilab macro
Syntax
jdeff(className, javaMethodName, scilabMacroName)
Parameters
- className
A string giving the class name
- javaMethodName
A string giving the method name in the class (the method must be static)
- scilabMacroName
A string giving the macro name
Description
Provides a simple way to map a static Java method onto a Scilab macro. The result is automatically unwrapped (if it is possible).
Examples
jdeff("java.lang.Double", "parseDouble", "str2number"); PI = str2number("3.141592653589"); PI - %pi
See also
- deff
History
Version | Description |
5.5.0 | Function introduced. Based on the 'JIMS' module. The main difference in the behavior compared to the JIMS module is that jautoUnwrap is enabled by default. |
Report an issue | ||
<< jcreatejar | Java depuis Scilab | jdisableTrace >> |