필터 지우기
필터 지우기

Writing text in fraction in Mask in Simulink

조회 수: 18 (최근 30일)
Daam Schoon
Daam Schoon 2021년 2월 1일
댓글: Daam Schoon 2021년 2월 4일
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

답변 (1개)

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

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

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by