MATLAB 帮助中心
返回组中所有可见的无限维度的 ID
unlimdimids = netcdf.inqUnlimDims(ncid)
unlimdimids = netcdf.inqUnlimDims(ncid) 返回由 ncid 指定的文件或组中所有可见的无限维度的 ID。如果文件或组没有可见的无限维度,函数将返回空数组。
unlimdimids
ncid
示例
全部折叠
打开示例 netCDF 文件,获取文件中所有可见的无限维度的 ID。在本例中,文件没有可见的无限维度。
ncid = netcdf.open("example.nc","NOWRITE"); unlimdimids = netcdf.inqUnlimDims(ncid)
unlimdimids = []
关闭 netCDF 文件。
netcdf.close(ncid)
NetCDF 文件或组标识符,指定为非负整数标量。您可以使用 netcdf.create 或 netcdf.open 函数来返回文件标识符。您可以使用 netcdf.defGrp 函数来返回组标识符。
netcdf.create
netcdf.open
netcdf.defGrp
数据类型: double
double
此函数对应于 netCDF 库 C API 中的 nc_inq_unlim_dims 函数。
nc_inq_unlim_dims
在 R2010b 中推出
netcdf.defDim | netcdf.inqDim | netcdf.inqDimID | netcdf.renameDim | netcdf.inqDimIDs
netcdf.defDim
netcdf.inqDim
netcdf.inqDimID
netcdf.renameDim
netcdf.inqDimIDs
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处