I assume you want to input the data into Matlab?? If so all you have to do is write the data as numbers in a file and then
load the file from matlab. so if you write to a filnamed "myfile" as an array of numbers
v11 v12 v13
v21 v22 v23
v31 v32 v33 etc.
Then in your matlab program you say
load myfile
v1 = myfile(:,1);
v2 = myfile(:,2);
v3 = myfile(:,3):
Is this what you want?