Hi Im using fgets to display every line in the file.
fid = fopen('file');
tline = fgets(fid);
L = (tline); tline = fgets(fid); disp(tline)
I would like to save every line in the workspace in sequence as L1, L2, L3 ...
Can You propose me a solution?
No products are associated with this question.
Play games and win prizes!Learn more