What font does MATLAB use?
137 次查看(过去 30 天)
显示 更早的评论
采纳的回答
MathWorks Support Team
2023-4-5
编辑:MathWorks Support Team
2023-4-5
There is no specific default font for MATLAB. MATLAB chooses a font to display based on your Java settings.
In order to figure out what font is being used on your machine, please read the following reference:
This will point you towards a specific Java configuration file. Within this file you should see a line starting with
monospaced.plain.alphabetic=
followed by the name of a font. This is the font that MATLAB will use.
2 个评论
Walter Roberson
2021-4-22
place_to_look = fullfile(matlabroot, 'sys', 'java', '**', 'fontconfig.properties.src');
dinfo = dir(place_to_look);
if isempty(dinfo)
fprintf('Sorry, I am not smart enough to figure it out for your system\n');
else
fprintf('%s\n', fullfile(dinfo(1).folder, dinfo(1).name));
end
Adam Danz
2021-4-22
To check the font Matlab is using in r2018a or later, open preferences from the home tab and navigate to MATLAB > Fonts.

更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!