Sometimes it's convenient to show tooltips; other times you might want to hide them. |toggleTooltips| makes switching between these conventions trivially easy.
...toggles OFF or ON all tooltips of all objects that are children of the specified parent.
...also allows you to specify onoff, using either 'on' or 'off'.
status = toggleTooltips(...)
...returns the state of the tooltips AFTER the function has run.
Brett Shoelson (2020). Easily toggle tooltips on or off (https://www.mathworks.com/matlabcentral/fileexchange/39223-easily-toggle-tooltips-on-or-off), MATLAB Central File Exchange. Retrieved .