Skip to content

ncwriteatt

io · scripts/io/ncwriteatt.m

NCWRITEATT  Write a global or variable attribute to a NetCDF file.
  NCWRITEATT (FILENAME, LOCATION, ATTNAME, ATTVALUE); LOCATION is '/'
  for a global attribute or a variable name.  Creates the file if it
  does not exist.