Packages
org.scilab.modules.javasci This package provides a way to use and call Scilab engine from a Java application or library.

Example:
Scilab sci = new Scilab();
sci.open();
sci.exec("b = matrix(1:100,10,10)");
ScilabType b = sci.get("b");
b.getHeight(); // 10
b.getWidth(); // 10
ScilabDouble b2 = (ScilabDouble)sci.get("b");
b2.equals(b); // true
org.scilab.modules.types This package provides a representation of most of the Scilab datatypes.

Example:
double [][]a={{21.2, 22.0, 42.0, 39.0},{23.2, 24.0, 44.0, 40.0}};
ScilabDouble aMatrix = new ScilabDouble(a);