Trying to publish "<" and ">" literally

3 ビュー (過去 30 日間)
Dan
Dan 2013 年 1 月 22 日
コメント済み: Dan 2021 年 11 月 29 日
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 Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by