Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
file2str Reads a text file into a cell array of strings
Input:
* file ... name of the file, i.e. file = 'test.txt'
Output:
* str ... cell array of strings
* fullPath ... path + filename + extension
* file ... filename
* directory ... path to file
Example
Write cell array to textfile.
+ str2file( {'aa','bbbb','','cc'}, 'test.txt' );
Read the text file with
+ t = file2str( 'test.txt' )
See also: str2file
Zitieren als
Wolfgang Garn (2026). file2str (https://de.mathworks.com/matlabcentral/fileexchange/11667-file2str), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert von: Generate help files from m-files, text2speech - tts, str2file
Inspiriert: Generate help files from m-files, str2file, text2speech - tts
Allgemeine Informationen
- Version 1.0.0.0 (2,13 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.0.0.0 |
