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!