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

조회 수: 11 (최근 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 CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by