MATLAB: How to disable the ability of MATLAB to launch a web browser

browserdisableinternetMATLABoffturnweb

How can I disable the ability of MATLAB to launch a web browser?
I would like to turn off the ability to launch a web browser from MATLAB. Currently, my users can access the internet via the "Web" menu in MATLAB. I would like to prevent this access by disabling this feature.

Best Answer

The "Web" menu launches the internet browser by using the WEB function in MATLAB. You can disable this option by editing WEB accordingly:
edit web
Insert the following after the function declaration:
return
This change however, will not prevent users from browsing the web through the MATLAB Help Browser.