Is there a way to change the font of text in Simulink dialog boxes?

23 visualizaciones (últimos 30 días)
Adee
Adee el 13 de Oct. de 2015
Editada: Will el 21 de Feb. de 2025 a las 16:52
Running Matlab R2013B on SuSe Linux. Simulink Dialog boxes (block parameters, Mask dialog, etc.) appear in tiny and almost unreadable font. It looks like Arial 8 point font is used. Is there a way to change it?
[Edit] Here is an example:
[Edit] Tested with Matlab 2015b. Dialog Font is slightly larger, which is an improvement, but still too small for my preference. I can't find any way to configure it.

Respuesta aceptada

Qingyu
Qingyu el 2 de Dic. de 2018
Press Ctrl and + at the same time to increase font.
  2 comentarios
Adee
Adee el 5 de Dic. de 2018
Wow! This actually works! and not only in dialog boxes - seems to work across all Simulink windows (but not all Matlab windows or other applications). And Ctrl-minus decreases the fonts as expected.
Tons of thanks. Exactly what I needed!
Is this feature documented anywhere?

Iniciar sesión para comentar.

Más respuestas (3)

Madhu Govindarajan
Madhu Govindarajan el 13 de Oct. de 2015
Open a new model in Simulink. Navigate to File > Simulink Preferences. This will open up a new dialog box. In the left hand side, the second option under 'Simulink Preferences' is 'Font Defaults for New Models'. You should be able to make changes here as needed. Just a word of caution, I am using windows. Hopefully this will also work in linux.
  1 comentario
Adee
Adee el 14 de Oct. de 2015
Editada: Adee el 14 de Oct. de 2015
The preferences enable setting fonts for blocks, lines and annotations. I have set these to large enough fonts. What I'm missing is the font setting for dialog boxes - I don't see that in the preferences.
I've edited the question and added a screen clipping of the dialog box font I'm getting when double-clicking a "Constant" block... see above.

Iniciar sesión para comentar.


liao simon
liao simon el 26 de Nov. de 2017
Editada: liao simon el 26 de Nov. de 2017
I have the same question with R2017b-trial version! Words are so tiny to see.
When I open the 'Simulink Preferences', I can only see three item under it on the left-hand side. But there is no option to adjust the dialog font size.
Please save my eyes if you can!
Thank you for any help you can provide!

Will
Will el 21 de Feb. de 2025 a las 16:44
Editada: Will el 21 de Feb. de 2025 a las 16:52
I realize this is an old thread, but I have the same stated question, for different reasons. The default font in dialogue boxes is ambiguous for coding and this has bitten me (probably Arial). It is problematic when names involve: capital eye, lower el, Capital oh, number zero -- the usual suspects.
This is a problem when when inspecting a legacy model and trying to determine signal and parameter names. For instance, when right-clicking a signal line, and choosing "signal heirarchy." Just today had an issue with "el" and "eye." My painful workaround has been to select a parameter name in the list, ctrl+c, then paste into a text editor (with Aptos the font) to see what I'm dealing with.
Is there a way to change the font name for Simulink dialogue boxes entirely (not just size)? Personal preference is Aptos monospace, since it is is the most distinct for the aforementioned characters and others. Consolas would be a second option, though not as disambiguated in my opinion.
For reference, due to company standardization, I am constrained to run 2017b so solutions for that version would be most welcome. (I can run 2024b but our system model has compatibility issues w/ 2024, so any solutions dependent on that version are less helpful)

Categorías

Más información sobre Interactive Model Editing 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!

Translated by