Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
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
Cita come
Wolfgang Garn (2026). file2str (https://it.mathworks.com/matlabcentral/fileexchange/11667-file2str), MATLAB Central File Exchange. Recuperato .
Riconoscimenti
Ispirato da: Generate help files from m-files, text2speech - tts, str2file
Ispirato: Generate help files from m-files, str2file, text2speech - tts
Informazioni generali
- Versione 1.0.0.0 (2,13 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
| Versione | Pubblicato | Note della release | Action |
|---|---|---|---|
| 1.0.0.0 |
