writing a string
3 ビュー (過去 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!