Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
SANKAR JYOTI NATH
SANKAR JYOTI NATH le 13 Mai 2017
Commenté : Jan le 13 Mai 2017
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 commentaire
Jan
Jan le 13 Mai 2017
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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by