csprintf: Write formatted strings to cells.
Versione 1.0.0.0 (1,7 KB) da
Douglas Schwarz
Write text into a cell array of strings.
This is a simple utility function to write formatted strings into a cell array of strings. It works like sprintf, but uses '\f' to separate text into cells, much like '\n' separates text into lines.
>> csprintf('%d\f',1:3)
ans =
'1' '2' '3'
Cita come
Douglas Schwarz (2025). csprintf: Write formatted strings to cells. (https://www.mathworks.com/matlabcentral/fileexchange/35159-csprintf-write-formatted-strings-to-cells), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2011a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Language Fundamentals > Data Types > Characters and Strings >
- MATLAB > Language Fundamentals > Data Types > Cell Arrays >
Scopri di più su Characters and Strings in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |