How to programmatically adjust the font size of the editor and command window?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Serbring
el 25 de En. de 2020
Comentada: Juan Miguel Serrano Rodríguez
el 22 de Sept. de 2021
Hi all,
I am using a lot Matlab both with the small screen of my laptop and with my large 34" external screen. Is there a way to programmatically set the font size of the command window and of the editor on the basis of the desktop resolution?
Thanks.
Best regards,
Michele
0 comentarios
Respuesta aceptada
Athul Prakash
el 27 de En. de 2020
Hi Michele,
You may use MATLAB's settings object to set and modify MATLAB preferences on the fly. Have a look at the doc linked below to get the hang of it.
I think you might be looking for the 'matlab.fonts.codefont.Size' setting.
Hope it helps!
2 comentarios
Juan Miguel Serrano Rodríguez
el 22 de Sept. de 2021
s=settings; s.matlab.fonts.codefont.Size.PersonalValue = 8;
This is the setting I am using
Más respuestas (0)
Ver también
Categorías
Más información sobre Environment and Settings en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!