How can i encode a string into a datamatrix code?

조회 수: 8 (최근 30일)
Jürgen
Jürgen 2017년 11월 30일
답변: Elizabeth Reese 2017년 12월 4일
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
Jürgen
Jürgen 2017년 11월 30일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Elizabeth Reese
Elizabeth Reese 2017년 12월 4일
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.

카테고리

Help CenterFile Exchange에서 Data Import and Management에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by