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 Center 和 MATLAB Answers 中查找有关 Migrate GUIDE Apps 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!