Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
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 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!