how to read a file containg only one column?

2 views (last 30 days)
Hi There. how to "target1.txt"file having only one column?

Accepted Answer

KSSV
KSSV on 16 Aug 2018
Edited: KSSV on 16 Aug 2018
Read about importdata
data = importdata('target1.txt') ;
iwant = data.data ;
Also have a look on load, textscan, readtable.

More Answers (0)

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!