Manuj,
Thank you for contacting National Instruments. In order to output the data from LabVIEW to Matlab using the Math Interface Toolkit, you have to make your data indicators an "output" for the LabVIEW VI. You will want to put an indicator on each of the broken lines. Now, you will have 10 array indicators. Go to the front panel. Right click on the icon in the upper right hand corner, and select show connector. This will make the icon display the terminals as blocks. You can then right click again, hover over patterns and choose your terminal pattern. Then, you will left-click on one block in this connector and then left-click on one of your indicators. This will assign that "node" of the terminal connector to that indicator. The block should then take the color of the data type (orange in this case). You will do this once for each indicator. You can also assign input parameters to the VI in the same manner.
Once you select the Math Interface Toolkit, all ten of these indicators will show up in the "outputs" tab of the wizard. Now, you can specify these as outputs to the .MEX function call in Matlab. For example,
[array1, array2, array3, array4,array5.....array10] = functionname(inputs)
Hope this helps!!!
Also, here is a link to a video demonstration on our website that will show you the movements that I am describing.
Happy Holidays!
-Jeff P.