ncdisp
Display a readable summary of a netCDF data source.
📝Syntax
ncdisp(filename)
ncdisp(filename, location)
ncdisp(filename, location, mode)
📥Input Arguments
Parameter Description
filename Path of the netCDF data source.
location Optional group or variable location to display.
mode Optional display mode.
📤Output Arguments
Parameter Description
none This function does not return a value.
📄Description

ncdisp prints a human-readable summary of the netCDF source in the command window.

Use ncinfo when the metadata must be consumed by code.

💡Examples
Copy-paste example for ncdisp.
filename = [tempdir(), 'help_ncdisp.nc'];
nccreate(filename, 'temperature', 'Dimensions', {'x', 3});
ncwrite(filename, 'temperature', [1 2 3]);
ncdisp(filename)
🔗See Also
ncinfo
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub