File Exchange

image thumbnail

pen / mouse draw input template

version (3.01 KB) by Jordi Palacin
Basic template for pen / mouse graphical draw processing.


Updated 30 Dec 2009

View License

Basic template for pen / mouse graphical input processing.

Press the pen or click the button of the mouse to draw/write anything. Pass over the red area call to an interpreter function


where you can insert your processing code. The function is internal and located at the end of pen.m

Have fun !

Cite As

Jordi Palacin (2021). pen / mouse draw input template (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

atefeh dehghanian

Thank you for your useful code.
I want to save x-pen and y-pen coordinate as a vector .how can i do it?

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!