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

8 ビュー (過去 30 日間)
Adee
Adee 2015 年 10 月 13 日
編集済み: Will 2025 年 2 月 21 日
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.

採用された回答

Qingyu
Qingyu 2018 年 12 月 2 日
Press Ctrl and + at the same time to increase font.
  2 件のコメント
Adee
Adee 2018 年 12 月 5 日
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?
Bing Wang
Bing Wang 2021 年 7 月 24 日
Great tip, thanks!

サインインしてコメントする。

その他の回答 (3 件)

Madhu Govindarajan
Madhu Govindarajan 2015 年 10 月 13 日
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 件のコメント
Adee
Adee 2015 年 10 月 14 日
編集済み: Adee 2015 年 10 月 14 日
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.

サインインしてコメントする。


liao simon
liao simon 2017 年 11 月 26 日
編集済み: liao simon 2017 年 11 月 26 日
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 2025 年 2 月 21 日
編集済み: Will 2025 年 2 月 21 日
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)

カテゴリ

Help Center および File ExchangeInteractive Model Editing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by