What font does MATLAB use?

126 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 14 Déc 2016
What font does MATLAB use?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 5 Avr 2023
Modifié(e) : MathWorks Support Team le 5 Avr 2023
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 commentaires
Walter Roberson
Walter Roberson le 22 Avr 2021
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
/MATLAB/sys/java/jre/glnxa64/jre/lib/fontconfig.properties.src
Adam Danz
Adam Danz le 22 Avr 2021
To check the font Matlab is using in r2018a or later, open preferences from the home tab and navigate to MATLAB > Fonts.
See the documentation for more info.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by