Simulink: Adding superscript to mask prompt

Hello,
I have created a masked subsystem in Simulink and would like to edit the text shown in the mask prompt for some parameters in order to include superscripts. See in the attached picture for an example of my problem. I would appreciate if anyone knows how to do this.
I use Simulink v8.7 (R2016a).
Thanks

2 Comments

Swarooph
Swarooph on 4 Oct 2016
Edited: Swarooph on 4 Oct 2016
IMO I don't think there is a way to do this for parameter prompts. There is documentation that says you can do this for port labels though.
Yes I was aware of how to do this for port labels. Too bad it can't be done for parameter prompts!

Sign in to comment.

Answers (2)

Just type the text as you want it in a text editor like Microsoft Word, and the when populating the information of the mask just copy and paste the text

1 Comment

This sounds quite easy but it hasn't worked for me unfortunately.

Sign in to comment.

Mohammed Ismail
Mohammed Ismail on 12 Jul 2018
Edited: Mohammed Ismail on 12 Jul 2018
Use Alt+0178 and you will get 2 superscripted.

Categories

Products

Asked:

on 4 Oct 2016

Edited:

on 12 Jul 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!