Posts tagged ‘Matlab’

I need a certain Matlab function, where do I find it in UJMP?

UJMP supports many Matlab functions, but not all.
But you can execute Matlab from within UJMP when you use Linux:

Matlab.getInstance().setMatrix("matrixInMatlab", ujmpMatrix);
Matlab.getInstance().execute("result = matlabFunction(matrixInMatlab)");
Matrix m = Matlab.getInstance().getMatrix("result");

Unfortunately, this is not working in Windows.

You might have to tell UJMP through a parameter, where the program is installed:
-DMatlab="/opt/matlab/matlab"