Remove emtpy cells within a structure
1 view (last 30 days)
Show older comments
Hi all,
Within a structure, is it possible to remove emtpy cell ?
For example in the capture, I would like that rows 13 to 26 move to rows 1 to 12...
Thanks in advance for your help !
Louise ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/553637/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/553637/image.jpeg)
2 Comments
Rashed Mohammed
on 23 Mar 2021
Hi Louise
Can you elaborate on the problem you are facing?
Do you want to replace the empty cells of rows 1 to 12 for the fields orderV3D onwards with the data from rows 13 onwards? Unless 26 is a typo in your description, 13-26 has 14 rows but 1-12 has only 12 rows. So where should the extra data be present?
Adam Danz
on 23 Mar 2021
It would be easier for us if we had a mat file containing the variable. Attach files uing the paperclip button in the editor.
Answers (0)
See Also
Categories
Find more on Structures in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!