I used e-puck robot that avoid obstacle using braitenberg in Matlab code, the program is running without any stop, i try to put the counter such like:
counter = 1;
while wb_robot_step(TIME_STEP) ~= -1
if counter == 2000
save(counter,:)
break;
end
and at the end of the program i make a program save such like this:
save ('C:\Users\RAINAH\Desktop\data store\datastore2_net.mat','store');
to store the data,that can be used to train in artificial neural network, but the e-puck is still moving with a long time; so, what actually can i do?