Borrar filtros
Borrar filtros

combining structs of different sizes

4 visualizaciones (últimos 30 días)
perveen ali
perveen ali el 9 de Feb. de 2017
Respondida: KSSV el 10 de Feb. de 2017
i want to combine structs of different sizes together, how can I do that. e.g. struct1 has four fields and struct2 has 3 fields. struct1= inputangle: '25' outputangle:'40' inputamplitude:'1' outputamplitude:'0.5' and strcut2 only has first three fields. with different values. how can I combine them to get all info in one struct. can anyone help please. thanks.

Respuestas (1)

KSSV
KSSV el 10 de Feb. de 2017

Categorías

Más información sobre Structures en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by