Remove emtpy cells within a structure
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
Rashed Mohammed
2021 年 3 月 23 日
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
2021 年 3 月 23 日
It would be easier for us if we had a mat file containing the variable. Attach files uing the paperclip button in the editor.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!