Simulink: Adding superscript to mask prompt

7 views (last 30 days)
evita
evita on 4 Oct 2016
Edited: Mohammed Ismail on 12 Jul 2018
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.
evita
evita on 5 Oct 2016
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)

JuanCa
JuanCa on 5 Oct 2016
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
evita
evita on 5 Oct 2016
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

Find more on Interactive Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!