The attached script calls passthrough.m and tries to pass an array to MATLAB and back.
While passing from GMAT to MATLAB, the array is corrupted. For example, this array (in GMAT):
becomes this array (in MATLAB):
Passing from MATLAB back to GMAT seems to retain the structure of the array as it was on the MATLAB side.