필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

unable to open a file from a folder........help

조회 수: 1 (최근 30일)
SANKAR JYOTI NATH
SANKAR JYOTI NATH 2016년 11월 18일
마감: MATLAB Answer Bot 2021년 8월 20일
yourFolder ='C:\Users\Parag\Desktop\open\files';
dirListing = dir([yourFolder '/*.txt*']);
baseFileName = dirListing(1).name;
data=importdata(baseFileName)
set(handles.display2,'string',data);
files are:
0000.txt
0010.txt
0020.txt
0030.txt ...................................
  댓글 수: 10
SANKAR JYOTI NATH
SANKAR JYOTI NATH 2016년 11월 18일
length is 60, and yes dirlisting(1).name shows text file 0000.txt
KSSV
KSSV 2016년 11월 18일
Then it should work, once you import data must have the file data in it.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by