writing a string
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
A=3; B=17; how can I write a string: 'Panel A: range(3-17)'?
0 comentarios
Respuesta aceptada
Más respuestas (1)
per isakson
el 3 de Jul. de 2011
I prefer
sprintf( 'Panel A: range(%u-%u)', A, B )
because I make fewer mistakes using that style
- per
0 comentarios
Ver también
Categorías
Más información sobre Characters and Strings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!