writing a string
Afficher commentaires plus anciens
A=3; B=17; how can I write a string: 'Panel A: range(3-17)'?
Réponse acceptée
Plus de réponses (1)
per isakson
le 3 Juil 2011
I prefer
sprintf( 'Panel A: range(%u-%u)', A, B )
because I make fewer mistakes using that style
- per
Catégories
En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!