Simulink: How to display bold text in mask using disp()
When editing the Matlab/Simulink mask code, you can display bold text by using disp()
with LaTeX commands and texmode
= on
.
Displaying just bold text
When using texmode
, you can use {\bf ...}
to format text as bold.
disp("{\bfTest text}", 'texmode', 'on')
Mixing bold with normal text
disp("This is{\bf test} text", 'texmode', 'on')
Also see:
- Simulink: How to display italic text in mask using disp()
- Simulink: How to display small/large text in mask using disp() (change font size)
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow