Scilab 6.0.2
- Scilab Help
- Java from 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
jwrapinfloat
Wrap Scilab double matrix into Java float multiarray.
Syntax
[jw_1, jw_2, ...] = jwrapinfloat(sc_1 [, sc_2 [, sc_3 [,... ]]])
Parameters
- sc_i
A Scilab variable
- jw_i
A Java wrapping in a float of the corresponding Scilab variable
Description
Since the float data type does not exist in Scilab, it is possible with this function to wrap a double in a float.
Examples
f = jwrapinfloat(%pi);
See also
- jwrap — Wrap a Scilab variable into a Java one if possible
- jwrapinchar — Wrap Scilab uint16 matrix into Java char multiarray.
- junwrap — Convert a Java object into a Scilab native type
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 | ||
<< jwrapinchar | Java from Scilab | new >> |