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

1 次查看(过去 30 天)
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