| Contents | Index |
setting = netcdf.inqVarFletcher32(ncid,varid)
setting = netcdf.inqVarFletcher32(ncid,varid) returns the Fletcher32 checksum setting for the NetCDF variable specified by varid in the file or group specified by ncid.
ncid |
Identifier for NetCDF file, returned by netcdf.create or netcdf.open, or group, returned by netcdf.defGrp. |
varid |
Identifier of NetCDF variable. |
This example opens the sample NetCDF file and gets information about the checksum setting for a variable.
ncid = netcdf.open('example.nc','NOWRITE');
varid = netcdf.inqVarID(ncid,'temperature');
setting = netcdf.inqVarFletcher32(ncid,varid);
netcdf.close(ncid);This function corresponds to the nc_inq_var_fletcher32 function in the netCDF library C API.
For copyright information, read the netcdfcopyright.txt and mexnccopyright.txt for more information.
netcdf | netcdf.defVarFletcher32
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |