Hi,
I'm trying to open a file and put into an array a .txt file that is set up as follows: name1;name2;name3;etc
I tried creating some code that would open this file, read it, and put it into an array. However, it creates a 1×1 array with the entire string of names in one place. Is there a way to splitting these up?
fileName = fopen('data.txt')
C = textscan(fileName, '%s')
Best Answer