Trying to publish "<" and ">" literally

1 Ansicht (letzte 30 Tage)
Dan
Dan am 22 Jan. 2013
Kommentiert: Dan am 29 Nov. 2021
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 Kommentar
per isakson
per isakson am 22 Jan. 2013
Bearbeitet: per isakson am 24 Jan. 2013
Don't think it is possible. I sometimes add a spaces, "< asdf qwer >"

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 22 Jan. 2013
try <asdf qwer>

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by