MATLAB: Cell rows/columns size

cellrowssize;

Hi,
I have a m by n cell in which some rows has less than 10 strings and the remaining elements are empty ([ ]). I now want to determine how many strings are there in each rows. If this cell was an array I could use "nonzeros(A(i,:))" to determine this but I don't know how to do this for a cell. Please help me fix this problem.
Thanks.

Best Answer

c={'12',[],'adjk';'jkjf','j;',[]}
b=cellfun(@isempty,c)