Effacer les filtres
Effacer les filtres

Change default Update Function for datatips

5 vues (au cours des 30 derniers jours)
Marco Pasquali
Marco Pasquali le 8 Juin 2018
Commenté : michael fried le 12 Fév 2020
Is it possible to change the default Update Function for datatips?
I know I can change it for an existing figure fig with
set(datacursormode(fig), 'UpdateFcn', @my_update_fcn)
but I'm asking if it possible to change it for all future figures that will be created after. One possible solution is to create a "new" figure command that execute the previous code before showing the window, but that doesn't seem the optimal way to do it.

Réponse acceptée

Walter Roberson
Walter Roberson le 8 Juin 2018
Unfortunately, No, there is no way to configure a default for that since R2014b (there was for R2014a and before.)
  2 commentaires
Marco Pasquali
Marco Pasquali le 8 Juin 2018
That's really unfortunate. I suppose that was a byproduct of some background change, since I don't quite understand why Mathworks had to remove this functionality.
Thanks!
michael fried
michael fried le 12 Fév 2020
How would it go in R2014a?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by