Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
SANKAR JYOTI NATH
SANKAR JYOTI NATH el 13 de Mayo de 2017
Comentada: Jan el 13 de Mayo de 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 comentario
Jan
Jan el 13 de Mayo de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by