How can I build a function with excel data
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
How can I build a function that accepts an unlimited number of Excel files and does the same operation on the files? Thanks
댓글 수: 0
답변 (1개)
function ProcessExcelFile(FileList)
% FileList is a cell string of file names
for k = 1:numel(FileList)
File = FileList{k};
... do the processing here
end
end
See also: https://www.mathworks.com/matlabcentral/answers/57446-faq-how-can-i-process-a-sequence-of-files.
By the way: You can find such links easily, if you ask an internet search engine for "Matlab process list of files". This forum is marvelous, but searching by your own is fast and efficient also - and therefore it is recommended as first step.
댓글 수: 0
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!