From 5e74174e0927ff03b255c9d993d42ba43d91f41d Mon Sep 17 00:00:00 2001 From: "M. Hock" <martin.hock@fst.tu-darmstadt.de> Date: Tue, 1 Mar 2022 12:40:44 +0100 Subject: [PATCH] removed doubled leading filesep --- +PlotID/createLinkedHDF5.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/+PlotID/createLinkedHDF5.m b/+PlotID/createLinkedHDF5.m index ffdffef..c7caae2 100644 --- a/+PlotID/createLinkedHDF5.m +++ b/+PlotID/createLinkedHDF5.m @@ -15,8 +15,8 @@ end try fid = H5F.create(fullfile(TargetPath,[filename,ext])); %create External Link to Sourcefile in the Group linkToExternal - H5L.create_external(['..',filesep,SourceFile],'/',fid, SourceFile ,plist_id,plist_id); - %H5L.create_external(['..,filesep,'data',filesep,SourceFile],'/',fid, SourceFile ,plist_id,plist_id); %original + H5L.create_external(['..',SourceFile],'/',fid, SourceFile ,plist_id,plist_id); + %H5L.create_external(['..,filesep,'data',SourceFile],'/',fid, SourceFile ,plist_id,plist_id); %original H5F.close(fid); disp([fullfile(TargetPath,[filename,ext]),' created']); status = 1; -- GitLab