Error when running compiled application: Undefined function ’webcammex'
Show older comments
I am using the Application Compiler to deploy my Matlab program (2015b). The packaging is successful but when I run it I’m getting the error:
Undefined function or variable 'webcammex'.
Error in matlab.webcam.internal.Utility.enumerateWebcams
Error in webcamlist (line 25)
Error in ...
MATLAB:UndefinedFunction
Does anyone know what’s causing this and what file I need to add when I compile the application?
Thanks.
3 Comments
Rebecca Krosnick
on 23 Dec 2015
What support package are you using to interact with the webcam?
In the Application Compiler GUI, do you see a "Suggested Support Packages" section? If so, is the relevant support package "checked"?
Are you able to run the standalone application on the machine that you built the application on? Do you only experience the error when running the application on a different machine?
Bernard Rivera Camacho
on 12 Mar 2020
Hello Rebecca
I have the same error I can run the Code in the Matlab application but not in the Stand alone application.
do you have a hint that i could follow?
Matlab 2014b 32 bit
Walter Roberson
on 12 Mar 2020
FInd the webcammex.w32 file and add it to the dependencies ?
Accepted Answer
More Answers (0)
Categories
Find more on Standalone Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!