
271Built-In MATLAB
®
Widgets and Java Classes
Browser preferences are stored in the global preferences le (see Section 8.2) and
usually have an “HTML” prex (e.g., HTMLUseProxy, HTMLProxyHost,
HTMLMaxFileSize), with a few preferences that do not follow this convention (e.g.,
SystemBrowser, SystemBrowserOptions). Section 8.2 shows how these preferences
can be set programmatically, but in this case there is another alternative, using the
built-in com.mathworks.mlwidgets.html.HTMLPrefs class: HTMLPrefs
has static get/set accessor methods for all the relevant preferences, for example,
HTMLPrefs.setUseProxy(ag),setPro ...