| Contents | Index |
groupName = netcdf.inqGrpNameFull(ncid)
groupName = netcdf.inqGrpNameFull(ncid) returns the complete pathname of the 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. |
Open the NetCDF sample dataset and retrieve the names of all groups.
ncid = netcdf.open('example.nc','NOWRITE');
gid = netcdf.inqNcid(ncid,'grid2');
fullName = netcdf.inqGrpNameFull(gid);
netcdf.close(ncid);This function corresponds to the nc_inq_grpname_full function in the netCDF library C API.
For copyright information, read the netcdfcopyright.txt and mexnccopyright.txt files.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |