csprintf: Write formatted strings to cells.

Write text into a cell array of strings.
ダウンロード: 308
更新 2012/2/20

ライセンスの表示

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'

引用

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. 取得済み .

MATLAB リリースの互換性
作成: R2011a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCharacters and Strings についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0