Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to import date of 50*3 in to excel sheet of multiple text files

1 vue (au cours des 30 derniers jours)
KALYAN KUMAR
KALYAN KUMAR le 11 Nov 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
As i have more than 100 files i need to copy data from text file to excel manually which is time taking process. can any one suggest a method or program to do the above mentioned.
i need some clarification in this program
numFiles = 25; startRow = 2; endRow = inf; myData = cell(1,numFiles); for fileNum = 1:numFiles fileName = sprintf('myfile%02d.txt',fileNum); myData{fileNum} = importfile(fileName,startRow,endRow); end
suppose i have 25 files and 25 files with 50*3 vectors how to program a loop?? can any one rectify this??

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by