I have this error while running my gui and I don’t understand what it means and how to fix it…
any ideas?
Error using toc
You must call TIC without an output argument before calling TOC without an
input argument.
Error in hand_rotation2/youPress (line 126)
c = toc;
Error while evaluating figure KeyPressFcn
You are using tic / toc matlab functions, these are used for measuring times. The message is telling you that toc is calling without previously tic calling, you can either remove line 126 or invoking tic firstly.