Main Content
ncreadatt
Read attribute from netCDF data source
Description
reads the netCDF attribute attvalue
= ncreadatt(source
,location
,attname
)attname
from the group or variable specified
by location
in source
. The returned attribute
value is of the MATLAB® data type that best matches the netCDF data type of
attname
. For more information about how MATLAB determines the best match, see NetCDF to MATLAB Data Type Conversion.
Examples
Input Arguments
More About
Tips
The
ncreadatt
function returns attributes that are vectors as row vectors.