function bf = getVarBlockingFactor(cdfId,varNum)
%cdflib.getVarBlockingFactor Return variable blocking factor
%   blockingFactor = cdflib.getVarBlockingFactor(cdfId,varNum) returns the 
%   blocking factor for the variable specified by varNum in the CDF 
%   identified by cdfId.
%
%   This function corresponds to the CDF library C API routine 
%   CDFgetzVarBlockingFactor.  
%
%   Example:
%       cdfId = cdflib.open('example.cdf');
%       varNum = 0;
%       blockingFactor = cdflib.getVarBlockingFactor(cdfId,varNum);
%       cdflib.close(cdfId);
%
%   Please read the file cdfcopyright.txt for more information.
%
%   See also cdflib, cdflib.setVarBlockingFactor.

%   Copyright 2009-2022 The MathWorks, Inc.

bf = matlab.internal.imagesci.cdflib('getVarBlockingFactor',cdfId,varNum);
