Skip to content
Snippets Groups Projects
Commit de0fe5c2 authored by Hock, Martin's avatar Hock, Martin
Browse files

Merge branch 'development' into 'master'

Development

See merge request !68
parents 790ce9bf 9b2f6c3c
No related branches found
Tags V1.0-RC1
2 merge requests!69Fix/centralizedonlinux,!68Development
Pipeline #657260 passed
......@@ -12,18 +12,17 @@ end
[~,filename,ext] = fileparts(SourceFile);
% try
try
fid = H5F.create(fullfile(TargetPath,[filename,ext]));
%create External Link to Sourcefile in the Group linkToExternal
H5L.create_external(['..\',SourceFile],'/',fid, SourceFile ,plist_id,plist_id);
%H5L.create_external(['..\data\',SourceFile],'/',fid, SourceFile ,plist_id,plist_id); %original
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
H5F.close(fid);
disp([fullfile(TargetPath,[filename,ext]),' created']);
status = 1;
% catch
% warning('No linked HDF file was created');
% status = 0;
% end
catch
warning('No linked HDF file was created');
status = 0;
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment