H4VARIABLES get HDF4 dataset names

get dataset names in a file under group default is datasets under "/", optionally under "/group"

Contents

Inputs

Outputs

function names = h4variables(file)

finf = hdfinfo(file);

ds = finf.SDS;

names = string({ds.Name});

end