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 Comment

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?

Sign in to comment.

Answers (0)

Categories

Tags

Asked:

on 13 Sep 2018

Commented:

Rik
on 13 Sep 2018

Community Treasure Hunt

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

Start Hunting!