returning array in matlab code example Example: matlab get array value MyArray(index1, index2, index3)