str2file

writes a cell array of strings into a file

이 제출물을 팔로우합니다

str2file writes a cell array of strings into a file

Input:
* str ... cell array of strings, i.e. str = {'aa','bbbb','','cc'}
* file ... name of the file, i.e. file = 'test.txt'
* (optional) directory ... destination directory

Output:
* A text file.

Example
Write cell array to textfile.
+ str2file( {'aa','bbbb','','cc'}, 'test.txt' );

See also: file2str

인용 양식

Wolfgang Garn (2026). str2file (https://kr.mathworks.com/matlabcentral/fileexchange/11668-str2file), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Cell Arrays에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0