Package 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

See:
          Description

Class Summary
Call_Scilab Connector for Javasci v2.
Scilab This class provides the capability to access to the Scilab engine from a Java application.

Example:
Scilab sci = new Scilab();
if (sci.open()) {
double [][]a={{21.2, 22.0, 42.0, 39.0},{23.2, 24.0, 44.0, 40.0}};
ScilabDouble aOriginal = new ScilabDouble(a);
sci.put("a",aOriginal);
ScilabDouble aFromScilab = (ScilabDouble)sci.get("a");
}
ScilabVariablesJavasci Class to get Scilab data from a Java call
 

Exception Summary
JavasciException This class provides a general exception class for Javasci v2 API.
JavasciException.AlreadyRunningException This class provides a exception class when Scilab is already running
JavasciException.InitializationException This class provides a exception class when an error occurs on the initialization
JavasciException.ScilabErrorException This class provides a exception class when a Scilab error occurs
JavasciException.ScilabInternalException This class provides a exception class when an internal error occurs
JavasciException.UndefinedVariableException This class provides a exception class when an non-existing variable is accessed.
JavasciException.UnknownTypeException This class provides a exception class when a type is unknown This should be very very rare.
JavasciException.UnsupportedTypeException This class provides a exception class when an unsupported type is used
 

Package org.scilab.modules.javasci Description

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