필터 지우기
필터 지우기

Simulink: Adding superscript to mask prompt

조회 수: 3 (최근 30일)
evita
evita 2016년 10월 4일
편집: Mohammed Ismail 2018년 7월 12일
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
  댓글 수: 1
evita
evita 2016년 10월 5일
This sounds quite easy but it hasn't worked for me unfortunately.

댓글을 달려면 로그인하십시오.


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