Using the 'getsnapshot' function in an embedded Matlab function, within Simulink.
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Acquisition in Simulink dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!