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"

  • del.icio.us
  • Google Bookmarks
  • MisterWong
  • Facebook
  • Digg
  • DZone
  • Slashdot
  • StumbleUpon
  • Technorati
  • Yahoo! Buzz
  • email
  • Print

Leave a Reply

You must be logged in to post a comment.