Simulink: Adding superscript to mask prompt

3 次查看(过去 30 天)
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 个评论
Swarooph
Swarooph 2016-10-4
编辑:Swarooph 2016-10-4
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 2016-10-5
Yes I was aware of how to do this for port labels. Too bad it can't be done for parameter prompts!

请先登录,再进行评论。

回答(2 个)

JuanCa
JuanCa 2016-10-5
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

Mohammed Ismail
Mohammed Ismail 2018-7-12
编辑:Mohammed Ismail 2018-7-12
Use Alt+0178 and you will get 2 superscripted.

类别

Help CenterFile Exchange 中查找有关 Author Block Masks 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by