MATLAB: Doesn’t zoom off work for scrolling in the MATLAB R2018b Prerelease

MATLAB

'zoom off' does not disable zooming via scrolling in the R2018b Prerelease.
Reproduction steps:
plot(1:10)
% put mouse over axes and scroll to zoom
zoom off
% put mouse over axes and notice we are still able to zoom via scrolling
In R2018a, 'zoom off' would disable zooming via scrolling. Note that in the R2018b Prerelease, 'zoom off' still disables zooming via clicking, just not scrolling.

Best Answer

In MATLAB R2018b, panning, zooming, data tips, and 3-D rotation are enabled by default. To disable this, you can use the 'disableDefaultInteractivity' function. So, for example, to disable interactivity for the current axes, you can do,
disableDefaultInteractivity(gca)
To enable them again, you can do
enableDefaultInteractivity(gca)