필터 지우기
필터 지우기

Question about setting custom WindowScrollWheelFcn callback

조회 수: 1 (최근 30일)
Brian
Brian 2014년 7월 21일
Hello, so I have a custom WindowScrollWheelFcn callback I want to use, since I don't want the same callback for every axes handle I set. My question is this:
I set the custom scrollback function with:
set(h,'windowscrollWheelFcn', {@scrollfunc,gca});
but I want to send to the function (and return) handles data. How can I set this?
For example, with the code
function scrollfunc(object, eventdata, handles)
the handles function is set to a random value.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by