| Contents | Index |
netcdf.defVarFletcher32(ncid,varid,setting)
netcdf.defVarFletcher32(ncid,varid,setting) defines the checksum settings for the NetCDF variable specified by varid in the file specified by ncid.
This example creates a NetCDF dataset and turns on the Fletcher32 checksum for a variable.
ncid = netcdf.create('myfile.nc','NETCDF4');
latdimid = netcdf.defDim(ncid,'lat',1800);
londimid = netcdf.defDim(ncid,'col',3600);
varid = netcdf.defVar(ncid,'earthgrid','double',[latdimid londimid]);
netcdf.defVarFletcher32(ncid,varid,'FLETCHER32');
netcdf.close(ncid);This function corresponds to the nc_def_var_fletcher32 function in the NetCDF library C API.
For copyright information, read the files netcdfcopyright.txt and mexnccopyright.txt.
netcdf | netcdf.inqVarFletcher32
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |