Hi,
I noticed that after using the pan function, WindowKeyPressFcn callback doesn't work anymore…
Example:
function someFunction Fig = figure('WindowKeyPressFcn', @buttonPressed_Callback); plot(rand(1,10)) pan on function buttonPressed_Callback(handle, event) key = event.Key endend
How can I reactivate the WindowKeyPressFcn callback after the pan command?
Thanks,
Razvan
Best Answer