MATLAB: Is it possible to display text vertically by specifying code in the mask icon drawing pane in Simulink

drawingfprintficonmaskpanerotatesimulinksprintfsubsystemtext;vertical

For example, if I type the following at the MATLAB command prompt:
plot(1:10,1:10);
text(5,5, ['a';'b';'c']);
The text is displayed
a
b
c
When I enter these commands in the mask icon drawing pane, I get the following
a b c

Best Answer

Simulink's mask icon drawing pane does not allow you to display vertical text.
To work around this issue, try using a picture that displays the text vertically or add the following code to the Mask Editor-->Icon pane:
disp(['a' char(10) 'b' char(10) 'c'])