How to pass values into addNewPositionCallback
이전 댓글 표시
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'?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Work with Components에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!