loading text file in vector columns

2 次查看(过去 30 天)
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.

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Standard File Formats 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by