This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

H5L.delete

Remove link

Syntax

H5L.delete(loc_id,name,lapl_id)

Description

H5L.delete(loc_id,name,lapl_id) removes the link specified by name from the location loc_id. lapl_id is a link access property list identifier.

Examples

Remove the only link to the '/g3' group in example.h5.

srcFile = fullfile(matlabroot,'toolbox','matlab','demos','example.h5');
copyfile(srcFile,'myfile.h5');
fileattrib('myfile.h5','+w');
fid = H5F.open('myfile.h5','H5F_ACC_RDWR','H5P_DEFAULT');
H5L.delete(fid,'g3','H5P_DEFAULT');
H5F.close(fid);

See Also