How can I go about doing this? So far I\'ve opened the file like this
fileID = fopen(\'hamlet.txt\'.\'r\'); [A,count] = fscanf(fileID, \'%s\'); fclose(fileID);