upc_test, a MATLAB program which calls upc() to compute 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.
upc, a MATLAB library which can determine the check digit for a Uniform product Code (UPC) or report whether a given UPC is valid.