Where did the zoom icon and other tools go in Release 2025b?
51 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Clay Fulcher
el 13 de Nov. de 2025 a las 21:33
Comentada: Clay Fulcher
el 14 de Nov. de 2025 a las 4:25
I just installed version 2025b. I noticed that the zoom icon along with other graphics tools seem to have disappeared on figures. Is there any way to get those back?
3 comentarios
Respuesta aceptada
Matt J
hace alrededor de 6 horas
Editada: Matt J
hace alrededor de 6 horas
In the version I had installed previously, there was a "zoom" button shaped like a small magnifying glass in a toolbar along with "datatips" and other graphics tools in a toolbar placed at the top left-hand corner of the figure.
It sounds like you're upgrading from a very old version. The top-left toolbar hasn't been there since R2018a.
To restore it, though, you can do,
set(groot,'defaultFigureCreateFcn',@(fig, ~)addFigButtons(fig));
function addFigButtons(fig)
if ~matlab.ui.internal.isUIFigure(fig)
addToolbarExplorationButtons(fig)
end
end
This can be added to your startup.m file so that it comes into effect at the start of any Matlab session.
4 comentarios
Matt J
hace alrededor de 1 hora
Editada: Matt J
hace alrededor de 1 hora
It looks like there have been some changes, and you can just do this now,
set(groot,'defaultFigureCreateFcn',@(fig, ~)addToolbarExplorationButtons(fig));
For older versions of Matlab (pre-R2025), you should use my originally posted answer, or it will break appdesigner.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!