str2file

バージョン 1.0.0.0 (1.54 KB) 作成者: Wolfgang Garn
writes a cell array of strings into a file
ダウンロード: 2.1K
更新 2006/7/10

ライセンスの表示

str2file writes a cell array of strings into a file

Input:
* str ... cell array of strings, i.e. str = {'aa','bbbb','','cc'}
* file ... name of the file, i.e. file = 'test.txt'
* (optional) directory ... destination directory

Output:
* A text file.

Example
Write cell array to textfile.
+ str2file( {'aa','bbbb','','cc'}, 'test.txt' );

See also: file2str

引用

Wolfgang Garn (2024). str2file (https://www.mathworks.com/matlabcentral/fileexchange/11668-str2file), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14SP2
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCell Arrays についてさらに検索
謝辞

ヒントを得たファイル: Generate help files from m-files, text2speech - tts, file2str

ヒントを与えたファイル: cell2file, Generate help files from m-files, file2str, text2speech - tts

Community Treasure Hunt

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

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