Hi I have a problem choosing what kind of tool to import data from a text file. The data looks something like this although the lines are like 4000 and
35, 0401-BA1,1,6,8,00000,0,01,053,50530,'Channel ',,35, 0401-CB1,1,6,8,00000,0,01,051,50510,'Spillway ',,35, 0401-EB1,1,3,2,00052,0,01,051,50510,'RioGrande ',,35, 0401-FS1,1,6,8,00203,0,01,011,27340,'Spillway ',,35, 0401-MB1,1,6,8,00000,0,01,037,0 ,'Canal ',,
I used the fscanf , textscan but I don't understand how to tackle the spaces. for the second space is it like %15c ?? Also How do I switch to another line should I use /n? Please help me here guys. Thank you
Best Answer