Contents

function exists = h4exists(file, variable)

H4EXISTS check if object exists in HDF4 file

Inputs

Outputs

finf = hdfinfo(file);
sds = finf.SDS;
exists = any(isequal(variable, sds.Name));
end