How to automatically delete empty cell arrays generated from a script

2 views (last 30 days)
Hey, so I have a script that filters through a large excel spreadsheet and sorts data based on criteria. It returns around 17 files, with each cell being an embedded matrix. However, some of the files are completely empty due to the fact that nothing may fit the certain criteria. How do I code to automatically delete every empty cell array generated?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 21 Jul 2015
Edited: Azzi Abdelmalek on 21 Jul 2015
v={2 3 [] 5}

More Answers (0)

Community Treasure Hunt

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

Start Hunting!