Code covered by the BSD License  

Highlights from
csprintf: Write formatted strings to cells.

Be the first to rate this file! 14 Downloads (last 30 days) File Size: 1.7 KB File ID: #35159

csprintf: Write formatted strings to cells.

by

 

Write text into a cell array of strings.

| Watch this File

File Information
Description

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'

Required Products MATLAB
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us