MatlabExec is a simple Java Servlet wrapper designed to call out to matlab using Apache Ant. It includes a generic AntExec class to make it easy to set the path location and a timeout. Other classes must be customized for the specific matlab functions (parameter types, error checking, etc.).

An example is SpmExec which allows a user to specify a SPM data file and a data object to convert to XML.

The customized classes are:

SpmQuery Servlet that checks for proper params
AutismClass Calls Andrew's queryspm.m funcion

AutismClass also includes a main() method for testing from the command line.

Last modified 14 years ago Last modified on 03/19/08 12:23:06