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.
'1' '2' '3'
Douglas Schwarz (2021). csprintf: Write formatted strings to cells. (https://www.mathworks.com/matlabcentral/fileexchange/35159-csprintf-write-formatted-strings-to-cells), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!