How to increase the font size in the Matlab help browser permanently

documentationfontsMATLAB

Maybe I'm getting old, but the text in Matlab's built-in help browser is too small for me to read comfortably. It is possible to increase the font size using Ctrl+, but every time a new help page is loaded, this change is lost

How can I permanently increase the font size?

Best Answer

This has been tested with Matlab R2015a on Linux, but I'd expect it to work on other platforms and maybe earlier versions, too.

Matlab's documentation is in the form of HTML, and the help browser is basically a web browser displaying locally stored files. There are several central style files, but the most important one appears to be

/opt/MATLAB/R2015a/help/includes/product/css/reset.css

Open this file (as root / administrator) in a text editor, and append the line

html { zoom: 1.5; }

Adjust the number to your liking.