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 个评论

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?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Entering Commands 的更多信息

标签

评论:

Rik
2018-9-13

Community Treasure Hunt

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

Start Hunting!

Translated by