Skip to content
Permalink
e103216ec8
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
14 lines (12 sloc) 404 Bytes
if(~isdeployed)
cd(fileparts(which(mfilename)));
end
DataPath = '.\';
AvailableFiles = dir((fullfile(DataPath, '*.fig'))); % list available data files
for idx = 1: size(AvailableFiles,1)
OpenFileName = AvailableFiles(idx).name;
fig = openfig(OpenFileName);
Ozone = fig.Children.Children.ZData;
Name = strsplit(OpenFileName,'.');
writematrix(Ozone, strcat(Name{1},'.csv'))
end