loading text file in vector columns

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 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeFile Operations についてさらに検索

質問済み:

2022 年 1 月 24 日

コメント済み:

2022 年 1 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by