str2file

writes a cell array of strings into a file

現在この提出コンテンツをフォロー中です。

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 (2026). str2file (https://jp.mathworks.com/matlabcentral/fileexchange/11668-str2file), MATLAB Central File Exchange. に取得済み.

謝辞

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

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

カテゴリ

Help Center および MATLAB AnswersCell Arrays についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0