textfile

Provides a one-call interface to read/write flat text files or line-based text files.

Al momento, stai seguendo questo contributo

This convenience function provides one-call read/write access to a flat text or line-based text file using calls of the following form.

content = textfile(filename);
textfile(filename, content);

The content can be returned as a char array, or a cell array of lines in the file. Some additional options are provided (see help).

Cita come

Ben Mitch (2026). textfile (https://it.mathworks.com/matlabcentral/fileexchange/29477-textfile), MATLAB Central File Exchange. Recuperato .

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.1.0.0

Linux implementation was broken, now is fixed.

1.0.0.0