MATLAB Answers


How to pass values into addNewPositionCallback

Asked by Raldi
on 16 Jul 2012
Hey guys,
I am using the following line of code
id(i) = addNewPositionCallback(h(i),@updateFun);
but when i try to move a component it throws an error
Undefined variable "h" or class "h".
So how can i pass 'h' into the function 'updateFun'?


Sign in to comment.

0 Answers