Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fig = figure('WindowKeyPressFcn', @(s,e)keypress());
- hedit = uicontrol('Style', 'edit');
- function keypress()
- if ~isequal(gco, hedit)
- disp('Window Key Press')
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement