Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the 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

Was this topic helpful?