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
1 次查看(过去 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?
0 个评论
回答(2 个)
Walter Roberson
2017-7-22
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)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!