- Simulink Labels: To draw a rectangle border around a label in a Simulink model, you can add an annotation with the shape of a rectangle programmatically, by adding drop shadow and using “get_params” function to specify the annotation position beneath the respective block.
- UI Labels: To create an axis label as an annotation with a solid border, you can use “annotation” function to specify annotation layout, color and text: