How to change the figure default key shortcut?

2 views (last 30 days)
Song
Song on 14 Mar 2014
Commented: Walter Roberson on 14 Mar 2014
Simple question:
is it a way to replace the default key shortcut of a figure, e.g. ctrl + s , to my own callback?

Answers (1)

Patrik Ek
Patrik Ek on 14 Mar 2014
Type preferences in the command window. Then under Keyboard -> Shortcuts you can change the key shortcut to New Figure.
  1 Comment
Song
Song on 14 Mar 2014
Thanks, but I want to do it for current figure only (better via function code), not in entire Matlab environment.

Sign in to comment.

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!