채택된 답변

Sebastian Castro
Sebastian Castro 2015년 5월 26일

9 개 추천

Just put a backslash in front of it: \_
- Sebastian

추가 답변 (1개)

Stephen23
Stephen23 2015년 5월 26일
편집: Stephen23 2015년 5월 26일

9 개 추천

Actually there are two main ways of dealing with this. Each of them can be useful, depending on the circumstances:
  1. Use the string '\_' instead of '_'.
  2. Change the text property Interpreter to none:
The first one is easy to do if you are writing the strings by hand, The second one can be useful if the strings are generated automatically or are read from some data source.

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

질문:

2015년 5월 26일

편집:

2015년 5월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by