4748495051525354555657
Scilab sci = new Scilab(); 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 */
6970717273747576777879
/* Send it to Scilab */ sci.put("bar", bar); /* Display it through Scilab */ sci.exec("disp(bar)"); sci.close(); } else { System.out.println("Could not start Scilab "); }