https://www.mathworks.com/help/matlab/ref/removetoolbarexplorationbuttons.html
removeToolbarExplorationButtons - Remove data exploration buttons from figure toolbar - MATLAB
This MATLAB function removes any data exploration buttons from the figure toolbar of the specified figure.
remove dataexplorationbuttonsfiguretoolbar