| Contents | Index |
groupName = netcdf.inqGrpName(ncid)
groupName = netcdf.inqGrpName(ncid) returns the name of a group specified by ncid.
ncid |
Identifier of NetCDF file, returned by netcdf.create or netcdf.open, or of a NetCDF group, returned by netcdf.defGrp. |
groupName |
Text string specifying name of a group. The root group has the name '/'. |
This example opens the NetCDF sample file and gets the names of groups in the dataset.
ncid = netcdf.open('example.nc','nowrite');
name = netcdf.inqGrpName(ncid);
netcdf.close(ncid);
This function corresponds to the nc_inq_grpname function in the NetCDF library C API.
For copyright information, read the netcdfcopyright.txt and mexnccopyright.txt files.
netcdf | netcdf.inqGrpNameFull
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |