Hi,
here is some general information about transferring data between matlab and labview.
I am not sure what you mean by " I don't know how the connect it with the main VI". Is this a general question about how to use subVIs in a main VI or do you mean where in your main VI the subVI should be?
Is it correct that you want to call 3 seperate scripts? Why don't you connect your subVI (3 seperate Instances) to your scriptnames. As far as I can see that should be the input of the SubVI, correct?
Best,
Anna
Anna Vogl
Certified LabVIEW Developer