Trying to publish "<" and ">" literally

1 vue (au cours des 30 derniers jours)
Dan
Dan le 22 Jan 2013
Commenté : Dan le 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 commentaire
per isakson
per isakson le 22 Jan 2013
Modifié(e) : per isakson le 24 Jan 2013
Don't think it is possible. I sometimes add a spaces, "< asdf qwer >"

Connectez-vous pour commenter.

Réponse acceptée

Zhuohe Liu
Zhuohe Liu le 25 Nov 2021
Modifié(e) : Zhuohe Liu le 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 commentaire
Dan
Dan le 29 Nov 2021
I've accepted this answer without validating it ... but it seems to make sense.

Connectez-vous pour commenter.

Plus de réponses (1)

Walter Roberson
Walter Roberson le 22 Jan 2013
try <asdf qwer>

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by