MATLAB: How to display text at a desired location on the mask of a subsystem in Simulink

simulink

I tried the following command in the example area of the Icon and Ports tab of the Mask Editor:
text(5,10,'Reena')

Best Answer

The text command example assumes the Icon Units property of the mask display set to Pixels. Change the Icon Units property in the Icon and Pots tab of the Mask Editor to Pixels. This will make the text display at a desired location.