File Exchange

image thumbnail

csprintf: Write formatted strings to cells.

version 1.0 (1.7 KB) by

Write text into a cell array of strings.

2 Downloads

Updated

View License

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'

Comments and Ratings (0)

MATLAB Release
MATLAB 7.12 (R2011a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video