This is what i tried
fid = fopen('output.txt')
c = textscan(fid,'%s')
s = c{1}
lineIndex = strncmp(s, 'v', 3)
I get the index or line in which v is present but how do i pass variable v to Matlab
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!