帮助中心帮助中心
返回子组 ID 数组
childGrps = netcdf.inqGrps(ncid)
示例
childGrps = netcdf.inqGrps(ncid) 返回由 ncid 指定的文件或父组的所有子组 ID。
childGrps
ncid
全部折叠
本例打开示例 netCDF 文件并获取其所包含组的信息。
ncid = netcdf.open("example.nc",'NOWRITE'); childGroups = netcdf.inqGrps(ncid); netcdf.close(ncid);
由 netcdf.create 或 netcdf.open 返回的 netCDF 文件标识符,或者由 netcdf.defGrp 返回的 netCDF 组标识符,指定为非负整数标量。
netcdf.create
netcdf.open
netcdf.defGrp
数据类型: double
double
指定 netCDF 文件或组中子组的标识符,以非负整数数组形式返回。
此函数对应于 netCDF 库 C API 中的 nc_inq_grps 函数。
nc_inq_grps
在 R2010b 中推出
netcdf.inqNcid | netcdf.inqGrpName | netcdf.inqVarIDs | netcdf.create | netcdf.open | netcdf.defGrp
netcdf.inqNcid
netcdf.inqGrpName
netcdf.inqVarIDs
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office