Trying to publish "<" and ">" literally

3 次查看(过去 30 天)
I am trying to publish via MATLABs publishing tool. I'd like to publish "<asdf qwer>" literally (without the double quotes) but MATLAB keeps turning the expression into a link. I try to use an escape character (i.e. \<asdf qwer\>) and the escape character is printed . How to I literally publish "<asdf qwer>" with an escape character that will not appear?
  1 个评论
per isakson
per isakson 2013-1-22
编辑:per isakson 2013-1-24
Don't think it is possible. I sometimes add a spaces, "< asdf qwer >"

请先登录,再进行评论。

采纳的回答

Zhuohe Liu
Zhuohe Liu 2021-11-25
编辑:Zhuohe Liu 2021-11-25
Replace < and > using HTML entity names: &lt;asdf qwer&gt;
In fact, you may just replace one of them: &lt;asdf qwer>
  1 个评论
Dan
Dan 2021-11-29
I've accepted this answer without validating it ... but it seems to make sense.

请先登录,再进行评论。

更多回答(1 个)

Walter Roberson
Walter Roberson 2013-1-22
try <asdf qwer>

类别

Help CenterFile Exchange 中查找有关 Function Creation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by