Trying to publish "<" and ">" literally

2 visualizaciones (últimos 30 días)
Dan
Dan el 22 de En. de 2013
Comentada: Dan el 29 de Nov. de 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 comentario
per isakson
per isakson el 22 de En. de 2013
Editada: per isakson el 24 de En. de 2013
Don't think it is possible. I sometimes add a spaces, "< asdf qwer >"

Iniciar sesión para comentar.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (1)

Walter Roberson
Walter Roberson el 22 de En. de 2013
try <asdf qwer>

Categorías

Más información sobre Function Creation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by