Retrieve array of child group IDs
childGrps = netcdf.inqGrps(ncid)
childGrps = netcdf.inqGrps(ncid)
returns
all the child group IDs in the parent group, specified by ncid
.
|
Identifier of NetCDF file, returned by |
|
Array containing identifiers of child groups in the specified NetCDF file or group. |
This example opens the sample NetCDF file and then gets information about the groups it contains.
ncid = netcdf.open('example.nc','nowrite'); childGroups = netcdf.inqGrps(ncid); netcdf.close(ncid);
This function corresponds to the nc_inq_grps
function
in the netCDF library C API.
For copyright information, read the netcdfcopyright.txt
and mexnccopyright.txt
files.