STRUCT2STR

Converts a struct intoa char string and, if needed, display the string. The function allows exportin

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

編集メモ: This file was selected as MATLAB Central Pick of the Week

STRUCT2STR - Converts a struct into a char string and optionally display its pairs of field names and field values in a list box.
The rows of the list box visualizing the fields can be individually selected, and the corresponding fields can be copied to the clipboard.
In this way, this function can be used to paste significant fields of a struct to a plain text file, for documentation purposes.
By displaying the obtained char string we get a similar output as the one generated by the Matlab built-in function DISP, when called on
the original struct.

引用

Marco Cococcioni (2026). STRUCT2STR (https://jp.mathworks.com/matlabcentral/fileexchange/15017-struct2str), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを与えたファイル: struct2str recursive

カテゴリ

Help Center および MATLAB AnswersData Type Conversion についてさらに検索

一般的な情報

MATLAB リリースの互換性

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

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

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