This MATLAB function toggles the visibility of the map frame by setting the map axes property Frame to 'on' or 'off'.
www.mathworks.com