Scilab 6.0.1
- 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
jnewInstance
Creates a new instance of a Java class
Syntax
obj = jnewInstance(class [, arg_1 [, arg_2... ]])
Parameters
- class
A mlist typed _JClass or a string containing the class name
- arg_i
A Scilab data or a mlist typed _JObj
- obj
A mlist typed _JObj
Description
Creates a new instance of a Java class obtained with jimport.
Examples
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 | ||
<< jinvoke_db | Java depuis Scilab | jnull >> |