How to disable interactive icons on Matlab plots within App Designer?

4 vues (au cours des 30 derniers jours)
Leon
Leon le 15 Août 2025
Commenté : dpb le 16 Août 2025
Every time after a Matlab plot is created, if you hover your mouse cursor to the upper right side of it, you will see small icons, of printer, pan, zoom in, zoom out, etc. My goal is to disable that within App-designer.
I tried to use
disableDefaultInteractivity(app.Plot1);
However, it has not been working. What is the correct way to disable this function, so that none of these icons will show up to the plots at all?
Thanks.

Réponse acceptée

dpb
dpb le 15 Août 2025
app.Plot1.Toolbar.Visible = 'off';
  2 commentaires
Leon
Leon le 15 Août 2025
It works. Many thanks
dpb
dpb le 16 Août 2025
No problem...new one to me, too...

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits


Version

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by