str2subs, subs2str

버전 1.0.0 (3.9 KB) 작성자: Kenneth Johnson
Convert a string to/from a subscript struct for use in subsref and subsasgn.
다운로드 수: 20
업데이트 날짜: 2020/12/15

라이선스 보기

Convert a character string (row vector) c to a subscript struct s for use in subsref or subsasgn.

Example: str2subs('a{1}.b(2,:)') is equivalent to substruct('{}',{1},'.','b','()',{2,':'}).

Convert a subscript struct s to a character string.

Example: subs2str(substruct('{}',{1},'.','b','()',{2,':'}),'a') returns 'a{1}.b(2,:)'.

인용 양식

Kenneth Johnson (2024). str2subs, subs2str (https://www.mathworks.com/matlabcentral/fileexchange/84365-str2subs-subs2str), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0