Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.1.0 - Français


javasci v1 limitations

Why javasci v1 is now deprecated ?

Description

The version V1 of javasci has some important limitations:

  • To retrieve any variable from the Scilab language, knowing the type of the variable is mandatory a priori.
  • Only a few types are managed by the interface (boolean, double, complex and string).
  • Lack of consistency between Scilab and Java. For example, in Scilab, a scalar (matrix of [1,1]) is a matrix. In the Java interface, there are two different datatypes (example: SciDouble and SciDoubleArray).
  • There is no serialization possible on most of the datatype.
  • Calling a Scilab function can be done only with the Exec method and increases the complexity of the retrieval of multiple output arguments.
  • The package name does not follow the package naming rules of Scilab and the Scilab Java checkstyle.
  • Hard to manage graphics windows (this problem is not addressed yet in Javasci v2)
  • No interaction with the event loop (this problem is not addressed yet in Javasci v2)
  • Cannot manage several instances of Scilab (this problem is not addressed yet in Javasci v2)

See also

History

VersionDescription
5.4.0 Javasci v1 is removed.
Report an issue
<< javasci FAQ Interface avec Java javasci - Step by step >>

Copyright (c) 2022-2023 (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:
Mon May 22 12:39:49 CEST 2023