Error while evaluating TimerFcn for timer 'timer-1' Undefined function 'myFunction' for input arguments of type 'uint8'.

The line where the error occures is:
RGB = getsnapshot(vid);
myFunction(RGB);
The function 'myFunction' expects input of type 720x1280x3 uint8, which RGB is. What does this error mean?
Thank you

1 Commento

This generally means that the function you're calling doesn't exist on your path. That may be because you changed the current folder, or renamed the file that the function is in.
What is the output of which myFunction -all?

Accedi per commentare.

Risposte (0)

Categorie

Richiesto:

il 13 Set 2018

Commentato:

Rik
il 13 Set 2018

Community Treasure Hunt

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

Start Hunting!

Translated by