Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
plotID_matlab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
plotID
plotID_matlab
Commits
de0fe5c2
Commit
de0fe5c2
authored
3 years ago
by
Hock, Martin
Browse files
Options
Downloads
Plain Diff
Merge branch 'development' into 'master'
Development See merge request
!68
parents
790ce9bf
9b2f6c3c
Branches
Branches containing commit
Tags
V1.0-RC1
Tags containing commit
2 merge requests
!69
Fix/centralizedonlinux
,
!68
Development
Pipeline
#657260
passed
3 years ago
Stage: Testing
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
+PlotID/createLinkedHDF5.m
+7
-8
7 additions, 8 deletions
+PlotID/createLinkedHDF5.m
with
7 additions
and
8 deletions
+PlotID/createLinkedHDF5.m
+
7
−
8
View file @
de0fe5c2
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment