info = ncinfo(filename)
| Parameter | Description |
|---|---|
| arguments | Input arguments follow the syntax shown above. File and group identifiers are numeric values returned by netCDF open, create, group, dimension, and variable definition calls. Named netCDF constants can be obtained with netcdf.getConstant. |
| Parameter | Description |
|---|---|
| info | Return value described by the syntax shown above. |
ncinfo inspects a netCDF data source and returns metadata as a Nelson structure.
The returned structure is intended for programmatic inspection and as a schema source for ncwriteschema when applicable.
filename = [tempdir(), 'help_ncinfo.nc'];
nccreate(filename, 'temperature', 'Dimensions', {'x', 3});
info = ncinfo(filename);
info.Variables(1).Name
| Version | Description |
|---|---|
| 2.0.0 | initial version |