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 Exchange에서 Data Type Conversion에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by