[file,text] = barCode128gen(code)
code => number or alphanumeric string.
file <= barcode image file name.
text <= standarized string code.
Pedro Villena (2020). BarCode Generator GS1-128 (https://www.mathworks.com/matlabcentral/fileexchange/45062-barcode-generator-gs1-128), MATLAB Central File Exchange. Retrieved .
Thanks a ton. Really helped me a lot!!! Well Done
thanks a lot
The barcode generation for numeric-only strings fails (crashes). I tried changing line 167 to the following:
if (~isempty(idx) && idx(1)==1),
This prevents the crash, but I'm not sure if it's the correct way to handle it. Could you confirm, or suggest a better fix?
Please read the description, this barcode generator only accept codes (inputs) of number strings or alphanumeric strings, that means, it does not accept codes (inputs) with puntuation characters or special characters. Obiously. this do not fit with all the GS1-128 specification.
Does not adhere to GS01-128 specs. Buggy.
Inspired: qr code
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!