Example: GUIDE ButtonDownFcn Callback

The GUI executes a callback function when a mouse is clicked over a figure.
3.2K Downloads
Updated 1 Jan 2008

No License

This is a GUIDE generated GUI.
The GUI executes a callback function when a mouse is clicked over a figure.

Inspired by the reference below:
[ref] http://www.mathworks.com/matlabcentral/newsreader/view_thread/160626

Cite As

Narupon Chattrapiban (2026). Example: GUIDE ButtonDownFcn Callback (https://www.mathworks.com/matlabcentral/fileexchange/18103-example-guide-buttondownfcn-callback), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0

the old files had a wrong reference to the callback fn