diff --git a/+PlotID/Publish.m b/+PlotID/Publish.m index 414da6593e2b906c9c04df78fdf1a33608e4ab57..7fa9b2d23d64620efe98ba76924aacc45113b1cc 100644 --- a/+PlotID/Publish.m +++ b/+PlotID/Publish.m @@ -83,7 +83,7 @@ switch options.Method [~, idx] = PlotID.fileCompare(DataPaths.rdata{i},fList); % create Linked HDF5 files for identical files if any(idx) - sourcePath = fList.name{idx}; % If there are multiple copies already, this only picks the last entry + sourcePath = fList{idx,'name'}; % If there are multiple copies already, this only picks the last entry if contains(sourcePath,{'.h5','.hdf5'}) % Linking only for HDF5 PlotID.createLinkedHDF5(sourcePath,storPath,ID); end