I have some MATLAB code that generates plots. When I use the callback function 'WindowButtonMotionFcn', i want it to detect the active button in toolbar (ZoomIn/ZoomOut etc…) and accordingly be able to conditionally execute the call backfunction 'WindowButtonMotionFcn'. How do I do it ?
MATLAB: How to conditionally execute ‘WindowButtonMotionFcn’, depending on the active icon in toolbar
MATLAB
Best Answer