Webcam in MATLAB after compiling is not working with MCR runtime

MATLAB code capturing video from webcam is compiled with "mcc -mv webcam_gettingstarted.m -a webcammex". In running exe file with MCR_R2015b_win64_installer, an error "matlab.webcam.internal.WebcamController" is reported.
How can I solve this problem?
If Matlab runtime MCR_R2015b_win64_installer does not support(which I have not confirmed), how can I work around? For example, use MATLAB coder to generate C/C++ and use OpenCV for webcam?

4 Commenti

Are you compiling with Matlab 2015b?
ver in command window gives:
MATLAB Version 8.6 (R2015b)
Computer Vision System Toolbox Version 7.0 (R2015b)
Fixed-Point Designer Version 5.1 (R2015b)
Image Processing Toolbox Version 9.3 (R2015b)
MATLAB Coder Version 3.0 (R2015b)
MATLAB Compiler Version 6.1 (R2015b)
MATLAB Compiler SDK Version 6.1 (R2015b)
Signal Processing Toolbox Version 7.1 (R2015b)
I have the same problem, is there a solution to this problem? Thanks
for me also same problem...plz suggest me to over come this problem with matlab 2015b

Accedi per commentare.

Risposte (0)

Categorie

Prodotti

Richiesto:

il 23 Nov 2015

Commentato:

il 5 Lug 2016

Community Treasure Hunt

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

Start Hunting!

Translated by