convert objects to string

버전 1.0.0.0 (2.48 KB) 작성자: Daniel Wirtz
Converter function that creates a recursive string representation for MatLab class instances
다운로드 수: 724
업데이트 날짜: 2011/11/23

라이선스 보기

This little helper function allows to obtain a string representation for Matlab class instances.
Main feature is that properties which are also objects are converted recursively.
The recursion level is represented by tab intendation.
The maximum depth is definable, but infinite loops are taken care of automatically.

For more detailed object analysis checkout the UIInspect (#17935) program, and for Java class inspection see checkClass (#26947).
However, if you want a lightweight, recursive string representation this tool might just be a good choice.

인용 양식

Daniel Wirtz (2024). convert objects to string (https://www.mathworks.com/matlabcentral/fileexchange/33899-convert-objects-to-string), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2011b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Characters and Strings에 대해 자세히 알아보기

Community Treasure Hunt

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

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