How can I increase the font size in the Simulink block "MATLAB Function"

43 ビュー (過去 30 日間)
Glenn Kubota
Glenn Kubota 2022 年 7 月 13 日
コメント済み: Glenn Kubota 2022 年 7 月 14 日
When I put a MATLAB Function block in my Simulink model (r2022a), the font used for the code editor is small and difficult to see. I've tried Ctrl + (as used in the MATLAB editor) and I've tried the scroll wheel (as used in the Simulink model editor) and they don't work. Is there some way of increasing the font size that I am missing?

採用された回答

Kshittiz Bhardwaj
Kshittiz Bhardwaj 2022 年 7 月 14 日
Hello Glenn, As per my understanding you want to increase the font size of code editor.
You can refer to these MATLAB answers to resolve your query:
You can refer to the documentation too:
  1 件のコメント
Glenn Kubota
Glenn Kubota 2022 年 7 月 14 日
The first link you sent did not apply to the MATLAB Function block in Simulink, but the second link to the documentation helped. By going to Home | Preferences | MATLAB | Fonts | Desktop code font I was able to increase the size of the font, which affected both the size of the font in the MATLAB editor and also in the MATLAB Function block in Simulink.
I like the way that in the MATLAB editor I can just use Ctrl+Plus or Ctrl+Minus to change the font size. I wish that the MATLAB Function block in Simulink was consistent and used these same key combos to change the font size.
I suppose my other option is to get stronger reading glasses. :)
Thank you!

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

その他の回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by