textfile

版本 1.1.0.0 (2.3 KB) 作者: Ben Mitch
Provides a one-call interface to read/write flat text files or line-based text files.
671.0 次下载
更新时间 2010/11/22

查看许可证

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).

引用格式

Ben Mitch (2024). textfile (https://www.mathworks.com/matlabcentral/fileexchange/29477-textfile), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Linux implementation was broken, now is fixed.

1.0.0.0