read Barcode is showing error- Undefined function or variable 'readBarcode'.
Mostrar comentarios más antiguos
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 comentario
Kamalin Mastura
el 13 de Jun. de 2021
Hi can I know if you successfully done this?
Respuestas (2)
Star Strider
el 26 de Mayo de 2021
2 votos
The version posted is R2019a, so to use it, it will be necessary to upgrade to R2020a.
2 comentarios
Jan
el 26 de Mayo de 2021
Perfect. I've overseen this detail.
Star Strider
el 26 de Mayo de 2021
Thank you!
Jan
el 25 de Mayo de 2021
0 votos
Do you have a license for the Computer Vision Toolbox?
4 comentarios
SANDEEP KUMAR SINGH
el 25 de Mayo de 2021
Jan
el 25 de Mayo de 2021
Check this by:
ver
Actually the function should be found, if the toolbox is installed. What does this reply:
which('readBarcode')
SANDEEP KUMAR SINGH
el 26 de Mayo de 2021
Jan
el 26 de Mayo de 2021
Maybe you need to rehash the toolbox cache:
rehash toolboxcache
Categorías
Más información sobre Computer Vision Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!