JMP provides a scripting interface to MATLAB. See Work with MATLAB in the Scripting Guide and MATLAB Integration Functions in the JSL Syntax Reference.