Extract string form cell for sprintf
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Jamie Shelley
am 21 Jul. 2016
Kommentiert: Jamie Shelley
am 21 Jul. 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 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 21 Jul. 2016
Bearbeitet: Azzi Abdelmalek
am 21 Jul. 2016
Example
a={'abc'}
use
sprintf([a{1} '%d'],5)
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Import from MATLAB 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!