how to display or input the character '
조회 수: 11 (최근 30일)
이전 댓글 표시
in string, the character ' is to indicate start or end of a stri. but how to display or input the character '
example, i want to set the string variable a so that it contains a single character ' only.
how?
if it is other character, it is ok like
a = 'my name' then content of a will be the string my name.
i just want a single character ' in a .
thanks
angus
댓글 수: 0
답변 (2개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!