loading text file in vector columns

4 ビュー (過去 30 日間)
ali hassan
ali hassan 2022 年 1 月 24 日
コメント済み: ali hassan 2022 年 1 月 25 日
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 Center および File ExchangeStandard File Formats についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by