Simulink: Adding superscript to mask prompt

5 visualizzazioni (ultimi 30 giorni)
evita
evita il 4 Ott 2016
Modificato: Mohammed Ismail il 12 Lug 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 Commenti
Swarooph
Swarooph il 4 Ott 2016
Modificato: Swarooph il 4 Ott 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 il 5 Ott 2016
Yes I was aware of how to do this for port labels. Too bad it can't be done for parameter prompts!

Accedi per commentare.

Risposte (2)

JuanCa
JuanCa il 5 Ott 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 Commento
evita
evita il 5 Ott 2016
This sounds quite easy but it hasn't worked for me unfortunately.

Accedi per commentare.


Mohammed Ismail
Mohammed Ismail il 12 Lug 2018
Modificato: Mohammed Ismail il 12 Lug 2018
Use Alt+0178 and you will get 2 superscripted.

Categorie

Scopri di più su Interactive Model Editing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by