upc_test, a MATLAB code which calls upc(), which computes the check digit associated with a uniform product code (UPC), or report whether a 12-digit UPC is actually valid.


The computer code and data files made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

upc, a MATLAB code which can determine the check digit for a Uniform product Code (UPC) or report whether a given UPC is valid.

Source Code:

Last revised on 12 February 2019.