How can i encode a string into a datamatrix code?

10 visualizaciones (últimos 30 días)
Jürgen
Jürgen el 30 de Nov. de 2017
Respondida: Elizabeth Reese el 4 de Dic. de 2017
I'm looking for a matlab function that generates datamatrix code (not QR Code) from a string.
datamatrix = generateDataMatrix(String, Length, Width, option)
where datamatrix is a matrix (boole or double)
  1 comentario
Jürgen
Jürgen el 30 de Nov. de 2017
The Matrix containing the barcode in datamatrix format. E.g. the String "DataMatrix" is encoded to the following matrix:
This can be done by a lot of generators in the internet. ( BarCodeGenerator ). But I need a matlab function.

Iniciar sesión para comentar.

Respuestas (1)

Elizabeth Reese
Elizabeth Reese el 4 de Dic. de 2017
There are a few File Exchange submissions about this topic that may be helpful.
There are also a few public solutions on Cody for a simple example.
To implement this yourself, some helpful functions may be dec2bin or imshow for a binary matrix.

Categorías

Más información sobre Data Import and Management en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by