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!