Set desktop environment font size from command line

Handy function to set the desktop environment font size from the command line.

You are now following this Submission

Call as setFontSize( fontSize) where fontSize is an integer font size value. The command window and editor font sizes are changed to be fontSize. Very useful when connecting a laptop to external monitors of different resolution.

Cite As

Graeme Smith (2026). Set desktop environment font size from command line (https://www.mathworks.com/matlabcentral/fileexchange/81553-set-desktop-environment-font-size-from-command-line), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0