- Open the mask dialog box for the "Constant" block. (You can use the shortcut Ctrl+M after selecting the block).
- 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
- In the "Icon" tab of the mask edit menu, enter the following command:disp(get_param(gcb,"Value"))
- Go to the "FORMAT" section in the top toolbar.
- Choose your desired font size under "FONT & PARAGRAPH".
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)
Show older comments
MathWorks Support Team
on 30 Jul 2025
Edited: MathWorks Support Team
on 10 Nov 2025 at 11:56
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
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:
0 Comments
More Answers (0)
See Also
Categories
Find more on Interactive Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!