I would like to put the name of the files that the sentence returns in an array
listing = dir (' letter .wav');
for that I use the sentence
listing (n) .name;
which I want to put into each of the positions of an array called vec, I use the for to iterate but I get the following error, thanks in advance.
The complete error is this:
Unable to perform assignment because the indices on the left side are not compatible with the size of the right
side.
Error in word recognition (line 16) vect (n) = listing (n) .name;