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
process_data(x_pen,y_pen)
where you can insert your processing code. The function is internal and located at the end of pen.m
Have fun !
http://robotica.udl.cat
Jordi Palacin (2021). pen / mouse draw input template (https://www.mathworks.com/matlabcentral/fileexchange/26225-pen-mouse-draw-input-template), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Thank you for your useful code.
I want to save x-pen and y-pen coordinate as a vector .how can i do it?