read Barcode is showing error- Undefined function or variable 'readBarcode'.
이전 댓글 표시
clc;
clear;
obj=webcam;
img=snapshot(obj);
msg=readBarcode(img);
disp("message="+msg);
After I tried to run this basic program of barcode reading, I found this error message of [Undefined function or variable 'readBarcode'.]
Now, I want to know, why this error happened and what can be done?
댓글 수: 1
Kamalin Mastura
2021년 6월 13일
Hi can I know if you successfully done this?
답변 (2개)
Star Strider
2021년 5월 26일
2 개 추천
The version posted is R2019a, so to use it, it will be necessary to upgrade to R2020a.
Jan
2021년 5월 25일
0 개 추천
Do you have a license for the Computer Vision Toolbox?
댓글 수: 4
SANDEEP KUMAR SINGH
2021년 5월 25일
Jan
2021년 5월 25일
Check this by:
ver
Actually the function should be found, if the toolbox is installed. What does this reply:
which('readBarcode')
SANDEEP KUMAR SINGH
2021년 5월 26일
Jan
2021년 5월 26일
Maybe you need to rehash the toolbox cache:
rehash toolboxcache
카테고리
도움말 센터 및 File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!