| Contents | Index |
unlimdimIDs = netcdf.inqUnlimDims(ncid)
unlimdimIDs = netcdf.inqUnlimDims(ncid) returns the IDs of all unlimited dimensions in the group specified by ncid.
ncid |
Identifier of a NetCDF file, returned by netcdf.create or netcdf.open, or group, returned by netcdf.defGrp. |
unlimDimIDs |
An array containing the identifiers of each unlimited dimension. unlimDimIDs is empty if there are no unlimited dimensions. |
This example opens the NetCDF sample dataset and gets the IDs of all the unlimited dimensions.
ncid = netcdf.open('example.nc','NOWRITE');
dimids = netcdf.inqUnlimDims(ncid)
dimids =
[]
netcdf.close(ncid);
This function corresponds to the nc_inq_unlim_dims function in the NetCDF library C API.
For copyright information, read the netcdfcopyright.txt and mexnccopyright.txt files.
netcdf | netcdf.defDim | netcdf.inqDim | netcdf.inqDimID | netcdf.inqDimIDs | netcdf.renameDim

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |