Dear sir
I'm writing to get some help. I want to convert from struct to mat... to substitute by its values in other matrix

2 件のコメント

KL
KL 2017 年 5 月 8 日
by struct to mat do you mean structure array to a matrix? If then all the fields should only be numeric. Or do you mean cell array? mat something totally different.
Elsayed Alhulaifi
Elsayed Alhulaifi 2017 年 5 月 9 日
Structure array to a matrix

サインインしてコメントする。

 採用された回答

Walter Roberson
Walter Roberson 2017 年 5 月 9 日

4 投票

You might be able to use
cell2mat( struct2cell( YourStructure ) )
but a lot depends on what is inside your structure.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Type Conversion についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by