csprintf: Write formatted strings to cells.

Write text into a cell array of strings.
308 téléchargements
Mise à jour 20 fév. 2012

Afficher la licence

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'

Citation pour cette source

Douglas Schwarz (2024). csprintf: Write formatted strings to cells. (https://www.mathworks.com/matlabcentral/fileexchange/35159-csprintf-write-formatted-strings-to-cells), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2011a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Characters and Strings dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0