MATLAB: How to read a file containg only one column

column read

Hi There. how to "target1.txt"file having only one column?

Best Answer

Read about importdata
data = importdata('target1.txt') ;
iwant = data.data ;
Also have a look on load, textscan, readtable.