How to pass values into addNewPositionCallback

2 ビュー (過去 30 日間)
Raldi
Raldi 2012 年 7 月 16 日
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 件)

製品

Community Treasure Hunt

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

Start Hunting!

Translated by