MATLAB with HiDPI display on Debian 12

MATLAB 在 Linux 上支持高分屏。 要调整高分屏 Linux 系统,您需要: 1)设置MATLAB比例因子 2)校准系统的DPI MATLAB比例因子会影响MATLAB桌面和窗口的大小/位置。系统的DPI确定轴和标签的比例和字体大小。 两个步骤如下 1)要将MATLAB比例因子设置为例如 2.5,请在MATLAB Command Window中执行以下命令: s = settings;s.matlab.desktop.DisplayScaleFactor s.matlab.desktop.DisplayScaleFactor.PersonalValue = 2.5 2)校准系统的DPI以匹配比例因子,请使用以下终端命令: ~$ xdpyinfo | grep resolution resolution: 96×96 dots per inch ~$ xrandr –dpi 240 选择的DPI值应为“ xdpyinfo”乘以所设置的MATLAB比例因子得到的分辨率。在示例中,96×2.5 = 240。 Continue reading MATLAB with HiDPI display on Debian 12