writing a string
조회 수: 12 (최근 30일)
이전 댓글 표시
A=3; B=17; how can I write a string: 'Panel A: range(3-17)'?
댓글 수: 0
채택된 답변
추가 답변 (1개)
per isakson
2011년 7월 3일
I prefer
sprintf( 'Panel A: range(%u-%u)', A, B )
because I make fewer mistakes using that style
- per
댓글 수: 0
참고 항목
카테고리
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!