Working on Ubuntu.
have a text file example.txt of the form:
string1string2string3...
To read into a column vector do:
fileID=fopen('/home/data/example.txt');formatSpec='%s\n';example==fscanf(fileID,formatSpec);
Unfortunately variable looks like:
string1string2string3…
What am I doing wrong?
Best Answer