How to auto change save file name with For loop
Mostra commenti meno recenti
I am looking for how to auto change save file name with For loop
N = 6;
for k = 1:N
F = sprintf('RR.data.%u',k);
C{k} = dlmread(F)
data = vertcat(C{:}); % <-- data is input
% After processing
%
% processing output is result
result = output % <-- how to auto change save file name with For loop
The result files overlap. that is why i ask
Risposte (1)
Aoi Midori
il 8 Apr 2020
Do you mean this?
result(k) = output
Categorie
Scopri di più su MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!