writing a string
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
A=3; B=17; how can I write a string: 'Panel A: range(3-17)'?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
per isakson
am 3 Jul. 2011
I prefer
sprintf( 'Panel A: range(%u-%u)', A, B )
because I make fewer mistakes using that style
- per
0 Kommentare
Siehe auch
Kategorien
Mehr zu Characters and Strings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!