Search found 2 matches

by Encourage
15 Jan 2015, 03:22
Forum: General questions
Topic: How to read many values for an array form a txt file?
Replies: 1
Views: 1170

How to read many values for an array form a txt file?

Hi copelia, I want to ask for your help.Now,I am meeting a difficult problem .That is, I can read a value for a variable in v-rep from a txt file,but I want to read many values for an array then via this array to choose one value for a joint .Can you give me some commands to realise this problem? Th...
by Encourage
07 Jan 2015, 09:04
Forum: General questions
Topic: Why I didn't write data to txt file
Replies: 1
Views: 1371

Why I didn't write data to txt file

Hi coppelia, I want to use some commands to write a string or some data to txt file in v-rep,but it doesn't work. i used similar commands ,such as, name="fileHandle.txt" file=io.open(name,"w") file:write("hello world") file:close() when the simulation ended,the txt file...