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.
m =
 
     8     1     6
     3     5     7
     4     9     2
 
 
magicMat =
[	8 1 6,
	3 5 7,
	4 9 2];
0
An installation of MATLAB cannot be found on this system.
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.
Verify that the MATLAB path is included in the PATH variable.

Help created on 10/11/2018