Error when running compiled application: Undefined function ’webcammex'
显示 更早的评论
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 个评论
Rebecca Krosnick
2015-12-23
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
2020-3-12
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
2020-3-12
FInd the webcammex.w32 file and add it to the dependencies ?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Standalone Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
