Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Is it possible to merge structs that are not the same size?

2 Ansichten (letzte 30 Tage)
JamJan
JamJan am 7 Nov. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Is it possible to merge structs that are not the same size and have different names?
  1 Kommentar
Walter Roberson
Walter Roberson am 7 Nov. 2019
... Yes, if you define what should happen in each case. One of the questions is what to do if the field names are the same.
There is no structure merge function provided by Mathworks.
Sometimes it is easiest to use struct2cell and manipulate and cell2struct back.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by