필터 지우기
필터 지우기

How to create a 'Next button' to show o/p of each file one by one

조회 수: 1 (최근 30일)
SANKAR JYOTI NATH
SANKAR JYOTI NATH 2017년 5월 13일
댓글: Jan 2017년 5월 13일
filepath='C:\Users\Parag\Desktop\12-08-15';
FileName={};
dirListing = dir([filepath '/*.txt*']);
for Index = 1:length(dirListing)
baseFileName = dirListing(Index).name;
FileName=[FileName,baseFileName]
end
file =importdata(FileName);
Fr=file(:,1);
Hr=file(:,2);
Ar=file(:,3);
Fr=Fr./1000000;
.........................
  댓글 수: 1
Jan
Jan 2017년 5월 13일
Start with replacing the failing concatenation of file names by:
dirListing = dir(fullfile(filepath, '*.txt*'));
FileName = fullfil(filepath, {dirListing.name});
Then explain where the "Next" button should appear and what "show o/p of each file one by one" exactly means.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by