Matrix
Read or Write a multidimensional array (matrix) data with MatLab.
Read: Array = Lib.Data.Matrix("Name", [Imag] )
Write: Lib.Data.Matrix("Name", [Imag] ) = Array
Array: (Double) multi-dimensional matrix
Name: (String) The name of a MatLab variable
Imag: (Boolean - optional) access the imaginary part of the array
VBA Example:
Dim m(2,3) As Double
For row = 0 To 2
For col = 0 To 3
m(row, col) = Rnd() * 10
Next
Next
Lib.Data.Matrix("mat") = m