writing a string
이전 댓글 표시
A=3; B=17; how can I write a string: 'Panel A: range(3-17)'?
채택된 답변
추가 답변 (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
카테고리
도움말 센터 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!