Filter löschen
Filter löschen

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

13 Ansichten (letzte 30 Tage)
Venkatesh R
Venkatesh R am 24 Jun. 2016
Beantwortet: José-Luis am 30 Jun. 2016
load data file.txt Error using load Unable to read file 'data': no such file or directory.
  1 Kommentar
KSSV
KSSV am 24 Jun. 2016
Are you sure that the file is available in the folder in which you are working?

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Shameer Parmar
Shameer Parmar am 24 Jun. 2016
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 am 30 Jun. 2016
Maybe you meant:
load file.txt

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by