Extract string form cell for sprintf
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Jamie Shelley
il 21 Lug 2016
Commentato: Jamie Shelley
il 21 Lug 2016
I have a string saved in a cell on excel, that I need to put onto my GUI using sprintf, but it says sprintf doesn't accept cell inputs, is there a way of extracting it from the cell and turning it into a string please? Thanks
0 Commenti
Risposta accettata
Azzi Abdelmalek
il 21 Lug 2016
Modificato: Azzi Abdelmalek
il 21 Lug 2016
Example
a={'abc'}
use
sprintf([a{1} '%d'],5)
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Characters and Strings in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!