Main Content
netcdf.defVarFill
Define fill parameters for netCDF variable
Description
netcdf.defVarFill(
sets the fill parameters for a variable in a netCDF file or group. ncid
,varid
,noFillMode
,fillValue
)varid
identifies the variable and ncid
identifies the netCDF file or
group.
For netCDF-4 files, you can only specify fill values when the netCDF is in definition mode. For netCDF files in classic and 64-bit offset modes, you can turn no-fill mode on and off at any time.
Examples
Input Arguments
Tips
This function corresponds to the
nc_def_var_fill
function in the netCDF library C API.
Version History
Introduced in R2010b
See Also
netcdf.create
| netcdf.open
| netcdf.defGrp
| netcdf.defVar
| netcdf.inqVarFill