unable to load .txt file. it shows the following error

27 ビュー (過去 30 日間)
Venkatesh R
Venkatesh R 2016 年 6 月 24 日
回答済み: José-Luis 2016 年 6 月 30 日
load data file.txt Error using load Unable to read file 'data': no such file or directory.
  1 件のコメント
KSSV
KSSV 2016 年 6 月 24 日
Are you sure that the file is available in the folder in which you are working?

サインインしてコメントする。

回答 (2 件)

Shameer Parmar
Shameer Parmar 2016 年 6 月 24 日
You can do this..
Data = textread('abc.txt', '%s', 'delimiter', '')
Make sure that the abc.txt file is present in current directory.
It will create variable 'Data' which store all data from your text file..

José-Luis
José-Luis 2016 年 6 月 30 日
Maybe you meant:
load file.txt

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by