str2file

writes a cell array of strings into a file
2,1K Downloads
Aktualisiert 10. Jul 2006

Lizenz anzeigen

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

Zitieren als

Wolfgang Garn (2026). str2file (https://de.mathworks.com/matlabcentral/fileexchange/11668-str2file), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R14SP2
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Cell Arrays finden Sie in Help Center und MATLAB Answers
Version Veröffentlicht Versionshinweise
1.0.0.0