mttIsEmptyCellArray.m 260 B

1234567891011
  1. function boolean = mttIsEmptyCellArray(cell_array)
  2. boolean = [] ;
  3. if iscell(cell_array)
  4. boolean = 1 ;
  5. for i = 1:length(cell_array)
  6. if ~isempty(cell_array{i})
  7. boolean = 0 ;
  8. end
  9. end
  10. end