ncdisp(filename)
ncdisp(filename, location)
ncdisp(filename, location, mode)
| Parameter | Description |
|---|---|
| filename | Path of the netCDF data source. |
| location | Optional group or variable location to display. |
| mode | Optional display mode. |
| Parameter | Description |
|---|---|
| none | This function does not return a value. |
ncdisp prints a human-readable summary of the netCDF source in the command window.
Use ncinfo when the metadata must be consumed by code.
filename = [tempdir(), 'help_ncdisp.nc'];
nccreate(filename, 'temperature', 'Dimensions', {'x', 3});
ncwrite(filename, 'temperature', [1 2 3]);
ncdisp(filename)
| Version | Description |
|---|---|
| 2.0.0 | initial version |