Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How to running a script for some excel files containing array of some variables inside and get some outputs array in a new file which corresponds with each variable file?
조회 수: 1 (최근 30일)
이전 댓글 표시
Dear all,
I have one folder with some xlsx files inside. Each file containing cells array: depth (1st column), Temperature (2nd column), Salinity (3rd column). I have a script running for each file and then I've got some derived values (let say A, B, and C which corresponds to each depth from that operation.
What I wanna do is running the script for all files, make a new output file with the name of file as each file I have processed; so I don't need to process it one by one.
Here is my initiation in my previous script, still running for each files:
ctd=xlsread('file name'); % I think this definition just processes one file, isn't it?
%parameters
z=ctd(:,1);%depth t=ctd(:,2);%temperature s=ctd(:,3); %salinity
%% MAIN script, resulting some variables for the corresponding depth (z): A, B, C
end
best regards
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!