Sending struct to MATLAB