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.
Newline characters in text files are differents on Windows and on Unix/Linux/Mac (https://en.wikipedia.org/wiki/Newline)
Even if MATLAB is able to handle this problem properly, it could be useful to determine the end of line for a text file. For exemple when reading the file with the "fread" function and its argument "skip" (constant number of characters per column).
ostxtfile uses the buitlin function "fgets" to return the native operating system on which the file was created. So it should works on any system and on any version of MATLAB.
Zitieren als
Jerome Briot (2026). ostxtfile (https://de.mathworks.com/matlabcentral/fileexchange/52784-ostxtfile), MATLAB Central File Exchange. Abgerufen .
Allgemeine Informationen
- Version 1.0.0.0 (2,19 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 |
