How to permanently change font size settings?

1 Ansicht (letzte 30 Tage)
Max
Max am 17 Nov. 2013
Kommentiert: Walter Roberson am 17 Nov. 2013
set(0,'defaulttextfontsize',14);
set(0,'defaultaxesfontsize',14);
at the command prompt together create a plotting environment with font sizes that I like. What I'd like to do is permanently set these for all future matlab sessions. How would I go about doing this. Thank you for you time.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 17 Nov. 2013
You can put the command in your setup.m file.

Weitere Antworten (1)

Max
Max am 17 Nov. 2013
searching around for where to put this I found someone who recommended putting it in a startup.m file and putting that file in the ~/Documents/MATLAB/ directory. This worked for me. Thanks for your answer though, it lead me where I wanted to go.
What is the difference between setup.m and startup.m?
  1 Kommentar
Walter Roberson
Walter Roberson am 17 Nov. 2013
The difference between setup.m and startup.m is whether my memory is fading or not. Apparently it is.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by