Writing text in fraction in Mask in Simulink

29 views (last 30 days)
Hey there folks,
I'm trying to write q/delta_e, but then in as a fraction and with greek symbol, obviously. I want to do this in the Mask editor in Simulink. My take on it was this:
text(0.35,0.5,'$\frac{q}{\delta_e}$','interpreter','latex','EdgeColor','k');
However, it says "latex is an invalid entry for 'text' drawing command parameter 'interpreter' in block ..."
Any suggestions?
Thanks in advance,
Daam

Answers (1)

Fangjun Jiang
Fangjun Jiang on 2 Feb 2021
Click "Help" in the Mask Editor to see the supported function for icon drawing. Search document for "Greek Letters and Special Characters in Chart Text"
text(0.35,0.5,['q/',char(916)])
  4 Comments
Daam Schoon
Daam Schoon on 4 Feb 2021
Ah alright, good to know, I think I'll just accept the block without the mask :) Thank you for your answers!

Sign in to comment.

Categories

Find more on Labels and Annotations in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!