Hello,
I am trying to open the file nt.txt, with the goal of assigning the number of columns to the variable nu. Right now, I have the following code:
fid=fopen('E:\A\nt.txt');g = textscan(fid,'%d','delimiter','\n');nu=length(g)fclose(fid)
However, it does not seem to work. Could someone help me?
Best regards,
Hugo
Best Answer