How to enable viewing workspace variables when hovering
Show older comments
This used to be a feature, but now I'm not seeing it in 2025b. When I am stopped and debugging code, I can hover my cursor over a variable and it will display a pop-up with the value of the variable. It also used to do this when not in debug mode if the variable name matched one in the current workspace, but it does not do this anymore. I found this useful when working on a script that operates in the base workspace. Is there a way to re-enable this functionality?
2 Comments
Mathieu NOE
on 19 Jun 2026 at 6:36
helllo
hopefully this is still valid for 2025b :
You'll find the option in your preferences, Editor/Debugger subgroup, then Display.
The option is called "Enable datatips in edit mode"

Matt J
44 minutes ago
That's great. I never knew about this preference setting.
Answers (0)
Categories
Find more on Workspace Variables and MAT Files 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!