Because JMP is both a 32-bit and a 64-bit Windows application, you must install the corresponding 32-bit or 64-bit version of MATLAB. For the supported version of MATLAB, see the JMP website: https://www.jmp.com/system/.
JMP delays loading MATLAB until a JSL-based script requires access to it. When you run a JSL script that calls MATLAB, JMP locates the software based on the operating system’s PATH environment variable (for example, C:\Program Files\MATLAB\R2012a\).
MATLAB Init();
MATLAB Submit( "m = magic(3)" );
magicMat = MATLAB Get( m );
Show( magicMat );
MATLAB Term();
The MATLAB function M = magic(3) returns a 3-by-3 matrix using integers in the range of 1 to 32 with equal row and column sums. This matrix is called a magic square.
2.
|
Select View > Log.
|
1.
|
Add a new environment variable with the name of MATLABROOT and a value of C:\Program Files\MATLAB\R2012a\ or C:\Program Files (x86)\MATLAB\R2012a\.
|
2.
|