How can I increase the font size of the data displayed in the "Constant" and the "Display" blocks in MATLAB R2023b?

17 views (last 30 days)
I want to increase the font size of the "Constant" and "Display" blocks in Simulink for easy readability. However, I am unable to find an option to adjust it. How can I increase the font size of the data displayed in the "Constant" and the "Display" blocks in MATLAB R2023b?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 10 Nov 2025 at 0:00
Edited: MathWorks Support Team on 10 Nov 2025 at 11:56
To adjust the font size of the "Display" block, first select the block, then navigate to the "FORMAT" section in the top toolbar. Within the "FONT & PARAGRAPH" section, you can choose the desired font size.
For the "Constant" block, the steps to increase the displayed value of the parameter are:
  1. Open the mask dialog box for the "Constant" block. (You can use the shortcut Ctrl+M after selecting the block).
  2. Promote the parameter "Value" of the Constant block. This will ensure that the mask parameter and the "Constant" block's "Value" parameter are the same. For details on promoting parameters please see: Parameter Promotion in Simulink 
  3. In the "Icon" tab of the mask edit menu, enter the following command:
    disp(get_param(gcb,"Value"))
  4. Go to the "FORMAT" section in the top toolbar.
  5. Choose your desired font size under "FONT & PARAGRAPH".

More Answers (0)

Categories

Find more on Interactive Model Editing in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!