if (sci.open()) {
/* Send a Scilab instruction */
sci.exec("foo = [ 2, 4, 6; 4, 0, 10; 6, 10, 12 ];");
/* Retrieve the variable foo */
ScilabType foo = sci.get("foo");
/* Display the variable */
System.out.println("Representation of : " + foo);
/* Get the data and retrieve the 2,2 value */