flattern_struct(inp​ut, name)

バージョン 1.2.0.0 (667 Bytes) 作成者: uathena
flattern a struct with unknown numbers of nested structs
ダウンロード: 26
更新 2017/8/17

ライセンスの表示

for example:
input.field1 = struct()
input.field1.field2 = struct()
...
flattern the struct so it only has one layer, then you can convert it to cell/table etc.

引用

uathena (2026). flattern_struct(input, name) (https://jp.mathworks.com/matlabcentral/fileexchange/64057-flattern_struct-input-name), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2017a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersStructures についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.2.0.0

fix a bug with string compare

1.1.0.0

add comments about input

1.0.0.0