netcdf.inqGrpName
返回组名
说明
示例
从 NetCDF 文件中获取组名称
本例打开 NetCDF 示例文件并获取数据集中的组名。
ncid = netcdf.open("example.nc",'NOWRITE'); name = netcdf.inqGrpName(ncid); netcdf.close(ncid);
输入参数
ncid
— NetCDF 文件标识符
整数
由 netcdf.create
函数或 netcdf.open
函数返回的 NetCDF 文件的标识符,或由 netcdf.defGrp
函数返回的 NetCDF 组的标识符。
数据类型: double
输出参量
groupName
— 组的名称
字符向量
由 ncid
指定的组的名称,以字符向量形式返回。根组的名称为 '/'
。
数据类型: char
版本历史记录
在 R2010b 中推出
MATLAB 命令
您点击的链接对应于以下 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:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)