loading text file in vector columns

3 views (last 30 days)
ali hassan
ali hassan on 24 Jan 2022
Commented: ali hassan on 25 Jan 2022
i have a text file which is having 8 different colums. i want to load this text file and save the colums as vectors.
filename='111.txt';
a=importdata(filename)
it is giving error.
Error using importdata
Unable to open file.

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 24 Jan 2022
May be no file "111.txt" exist in the current working directory.
Please check again & confirm?
exist('111.txt','file')

Community Treasure Hunt

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

Start Hunting!