Effacer les filtres
Effacer les filtres

Writing text in fraction in Mask in Simulink

22 vues (au cours des 30 derniers jours)
Daam Schoon
Daam Schoon le 1 Fév 2021
Commenté : Daam Schoon le 4 Fév 2021
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

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 2 Fév 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 commentaires
Fangjun Jiang
Fangjun Jiang le 3 Fév 2021
Or do three lines of text()
Daam Schoon
Daam Schoon le 4 Fév 2021
Ah alright, good to know, I think I'll just accept the block without the mask :) Thank you for your answers!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Labels and Annotations dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by