how can i slove this problems ''OnBarcode' is not recognized as an internal or external command, operable program or batch file. ' while running the program

2 vues (au cours des 30 derniers jours)
vid = videoinput('winvideo', 1);
preview(vid);
img = getsnapshot(vid);
imshow(img)
str = sprintf('OnBarcode QR Code Scanner.exe %s', img);
system(str);
after executing this program how can i slove this proplem?

Réponses (2)

Walter Roberson
Walter Roberson le 22 Juil 2017
You need to have installed onbarcode, which appears to be from http://www.onbarcode.com/tech/608/6/
You probably also need to change
str = sprintf('OnBarcode QR Code Scanner.exe %s', img)
to
str = sprintf('"OnBarcode QR Code Scanner.exe" %s', img)

cui,xingxing
cui,xingxing le 7 Fév 2021
Modifié(e) : cui,xingxing le 7 Fév 2021

Catégories

En savoir plus sur Manage Products dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by