Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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??

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!