Discussion:
Simulink/Block names (TeX commands)
(too old to reply)
Majo
2007-11-22 10:58:04 UTC
Permalink
Hi,
I'm trying to use TeX commands in Block names and text
fields in Simulink model, but I dont know how to do it.
When I use command like:
"\hat{x}" or "x_{2}"
it does not show the nice symbols like in LaTex.

So if anyone could help me, I'll be grateful. I hope, taht
Simulink supports Tex commands.

Have a nice day. Bye :-)
Idin Motedayen-Aval
2007-11-30 02:12:59 UTC
Permalink
Post by Majo
Hi,
I'm trying to use TeX commands in Block names and text
fields in Simulink model, but I dont know how to do it.
"\hat{x}" or "x_{2}"
it does not show the nice symbols like in LaTex.
So if anyone could help me, I'll be grateful. I hope, taht
Simulink supports Tex commands.
Have a nice day. Bye :-)
You need to Enable the TeX interpreter (right-click on your annotation).
But I don't believe the \hat command is supported anyway. Take a look
at this page:
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/text_props.html#String

Idin
--
Idin Motedayen-Aval
The MathWorks, Inc.
zq=[4 2 5 -15 -1 -3 24 -57 45 -12 19 -12 15 -8 3 -7 8 -69 53 12 -2];
char(filter(1,[1,-1],[105 zq])), clear zq
Ben Hocking
2015-07-30 20:43:03 UTC
Permalink
Post by Idin Motedayen-Aval
Post by Majo
Hi,
I'm trying to use TeX commands in Block names and text
fields in Simulink model, but I dont know how to do it.
"\hat{x}" or "x_{2}"
it does not show the nice symbols like in LaTex.
So if anyone could help me, I'll be grateful. I hope, taht
Simulink supports Tex commands.
Have a nice day. Bye :-)
You need to Enable the TeX interpreter (right-click on your annotation).
But I don't believe the \hat command is supported anyway. Take a look
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/text_props.html#String
Idin
--
Idin Motedayen-Aval
The MathWorks, Inc.
zq=[4 2 5 -15 -1 -3 24 -57 45 -12 19 -12 15 -8 3 -7 8 -69 53 12 -2];
char(filter(1,[1,-1],[105 zq])), clear zq
Just to double-check, this is _not_ possible to do with block names, correct? I can get inserted text box annotations to do this (although surprisingly, it does not support \frac or \sum, though it does support \int), but see no way to do the same thing with block names. Let me know if I'm missing something. The version I tested this on is R2014b.
Loading...