encellstr

バージョン 1.0.0.0 (1.39 KB) 作成者: Julian
ENCELLSTR Create cell array of strings from char array or in ans with command-form use.
ダウンロード: 376
更新 2013/5/24

ライセンスの表示

This rather trivial function is mainly a convenience utility to quickly create cellstr literals without typing all those pesky quotes, e.g.
encellstr even using the variable editor I have to quote each entry

I was only motivated to add it to the File Exchange by Loren's blog entry http://blogs.mathworks.com/loren/2013/05/22/duality-between-function-and-command-syntax/

ENCELLSTR Create cell array of strings from char array or in ans with command-form use.
C = encellstr(S) calls CELLSTR to place each row of the character array S into
separate cells of C. However this calling jacket for CELLSTR also allows
functional form to save on quoting string literals.

引用

Julian (2024). encellstr (https://www.mathworks.com/matlabcentral/fileexchange/41934-encellstr), 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