str2file

writes a cell array of strings into a file
2,1K téléchargements
Mise à jour 10 juil. 2006

Afficher la licence

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

Citation pour cette source

Wolfgang Garn (2024). str2file (https://www.mathworks.com/matlabcentral/fileexchange/11668-str2file), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R14SP2
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Cell Arrays dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0