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 |