Using the 'getsnapshot' function in an embedded Matlab function, within Simulink.
Show older comments
Hello,
I've got a small Simulink model which reads from a webcam and does a few things to the video stream. Most of the model works fine, however one of the processes I want to do requires an embedded Matlab function.
I've passed the video feed into the Matlab block, and I've tried taking a snap shot of it using the getsnapshot function, but to no avail. I get the coder error message:
Undefined function or variable 'getsnapshot'.
Any advice would be greatly appreciated, Thanks.
Accepted Answer
More Answers (0)
Categories
Find more on Image Acquisition in Simulink 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!