You can delete an entire dimension of cells using a single statement. Like standard array deletion, use vector subscripting when deleting a row or column of cells and assign the empty matrix to the dimension:
When deleting cells, curly braces do not appear in the assignment statement at all.
Reshaping Cell Arrays
Like other arrays, you can reshape cell arrays using the
function. The number of cells must remain the same after reshaping; you cannot use
reshape to add or remove cells:
|Obtaining Data from Cell Arrays||Replacing Lists of Variables with Cell Arrays|
© 1994-2005 The MathWorks, Inc.