Wrap a Scilab variable into a Java one if possible
[jw_1, jw_2, ...] = jwrap(sc_1 [, sc_2 [, sc_3 [,... ]]])
A Scilab variable
A Java wrapping of the corresponding Scilab variable
Wrap a Scilab variable into a Java one. For now, only the primitive type can be wrapped:
byte[3][4]
or byte[4][3]
depending on conversion
method which can be changed in using the command
jautoTranspose.
You should take care that the range of the index is the same as in Java, so a(0)
is valid.
It is possible to wrap into Java types float or char in using respectively jwrapinfloat and jwrapinchar.
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. |