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 (최근 30일)
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?

답변 (2개)

Walter Roberson
Walter Roberson 2017년 7월 22일
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 2021년 2월 7일
편집: cui,xingxing 2021년 2월 7일

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by