Please help me, I'm super new to matlab and trying to figure everything out. I'm trying to randomly generate a word from a excel list and get a user input for each of them. Then I want all the inputs recorded in a cvs. file along with the generated words.
ALso I found that the words repeat within the loop and I want a unique word each time but have no idea how to do it.
for k = 1:10 english=importdata('testing.xlsx'); a=english(randi(numel(english))); disp(a); b=(input('Enter:','s')); % it only recorded the last input. How do I fix this?
end
Best Answer