First off, I would like to thank xansys moderators, who are working hard to make it better for us.
Then, I recently ran into a problem where I wanted to import a text data into an array and decided to use *VREAD. I noticed this command fills the the array by column, but I needed to import the file as it is. For example, say I have a data file (data.txt) that contains:
1 2 3 4 5 6 7 8 9
When I read it by *VREAD (*VREAD,myArray(1,1,1), data,txt,,3,,1,) it filled the array as follows.
myArray =
1 4 7 2 5 8 3 6 9
So, I had to transpose the matrix by *mfun command each time I import external data. Also, I didn't quite understand how Label, and n1, n2, n3 fields work in *VREAD command.
My question is: does anybody know if it is possible to read in matrix by row using *VREAD?
Thanks all for the response, -- Shakhrukh Ismonov Ph.D. Student ME Dept. MSU