Writing text in fraction in Mask in Simulink
33 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Fangjun Jiang
2021-2-2
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Author Block Masks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!