How to change the figure default key shortcut?

Simple question:
is it a way to replace the default key shortcut of a figure, e.g. ctrl + s , to my own callback?

1 commentaire

Which default key shortcut is that? The list of figure properties http://www.mathworks.com/help/matlab/ref/figure_props.html does not include any shortcuts.

Connectez-vous pour commenter.

Réponses (1)

Patrik Ek
Patrik Ek le 14 Mar 2014

0 votes

Type preferences in the command window. Then under Keyboard -> Shortcuts you can change the key shortcut to New Figure.

1 commentaire

Song
Song le 14 Mar 2014
Thanks, but I want to do it for current figure only (better via function code), not in entire Matlab environment.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Interactive Control and Callbacks dans Centre d'aide et File Exchange

Question posée :

le 14 Mar 2014

Commenté :

le 14 Mar 2014

Community Treasure Hunt

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

Start Hunting!

Translated by