convert objects to string

Converter function that creates a recursive string representation for MatLab class instances

現在この提出コンテンツをフォロー中です。

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 (2026). convert objects to string (https://jp.mathworks.com/matlabcentral/fileexchange/33899-convert-objects-to-string), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersCharacters and Strings についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0