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

27 visualizaciones (últimos 30 días)
Venkatesh R
Venkatesh R el 24 de Jun. de 2016
Respondida: José-Luis el 30 de Jun. de 2016
load data file.txt Error using load Unable to read file 'data': no such file or directory.
  1 comentario
KSSV
KSSV el 24 de Jun. de 2016
Are you sure that the file is available in the folder in which you are working?

Iniciar sesión para comentar.

Respuestas (2)

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

Categorías

Más información sobre Search Path en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by