Download Matlab Engine For Java Open Matlab’s main project window (where most of your code should be) and go to ‘About’. Click on the ‘Web App’ tab (where it will have the file ‘Java Scripts’): And select the file ‘javax.libs’. Copy you generated ‘JavaScript Framework module.’ and paste in it (like this: .comp/mangodb/mangolib.jsp#1.xsd-tools::0.5.7.jar ) and the module ‘MatlabEngine’ in its.sxml (in case something like this happens): Import the Matlab engine using Win32 Runtime Environment (available on java.util). You can also build or use the ‘Source Code’ window here in conjunction with Matlab Engine, see below for example: In that example I created a few lines of code to go inside matlab (and was fairly eager even though it’s slightly different): We’ll see how to use Math.Algebra() to generate the Math.Rotate() methods to rotate the sphere with axes in the Cartesian coordinate system. Now you’re ready to call up matlab. Create a new page from inside MatlabEngine You’ll now set up your MatlabEngine “on-page” view, and you’ll also have to create an account via Matlab. In the right context