Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.1 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Java from Scilab > jdeff


Map a static Java method onto a Scilab macro

Calling Sequence

jdeff(className, javaMethodName, scilabMacroName)



A string giving the class name


A string giving the method name in the class (the method must be static)


A string giving the macro name


Provides a simple way to map a static Java method onto a Scilab macro. The result is automatically unwrapped (if it is possible).


jdeff("java.lang.Double", "parseDouble", "str2number");
PI = str2number("3.141592653589");
PI - %pi

See Also

  • deff


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 from Scilab jdisableTrace >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 02 13:47:02 CEST 2014