SCaVis can be used to program in MatLab/Octave programming language implemented in Java. For this purpose, SCaVis uses JMathLab engine to run execute the code. Unlike other scripting languages, such as Jython, Groovy or JRuby, JMathLab scripts are less interactive and, generally, are not integrated into the JVM. However, JMathLab scripts are mainly designed for symbolic calculations.
Here is a simple script which can be used in SCaVis:
Save this cript into a file, say “example.m” (note the extension *.m), and run this script as usual (click on the [run]) button. The result is a pop-up window with the image as shown below:
Use JMathLab Shell for interactive programming, or the editor to create scripts and run them.
Look at the section JMathLab for more detail.