"Bruno Luong" <b.l...@fogale.findmycountry> wrote in message <kd9uco$ejl$
1...@newscl01ah.mathworks.com>...
Thank you, Bruno. I'm past having heartburn with NaN's. It occurred to me that I should post an example. Here's the sample cell (4 rows x 5 col ) giving me trouble right now (note that I've inserted two single quotes where a cell is empty) :
C={['Office'] ['Job'] ['Job Description'] ['Task Code']['Task Description'];
['5AUS'] ['0052'] ['TEST FOR KRONOS UPLOAD '] [ '' ] [ '' ];
['5AUS'] ['0052'] ['TEST FOR KRONOS UPLOAD '] [1000] ['GENERAL'];
['5AUS'] ['0390'] ['Different data for TEST '] [ '' ] [ '' ] }
I saw you posted an example removing the empty cells, but I need my cell to keep the same dimensions. I tried inserting the actual words "blank" in the cell before calling "cell2mat" function and it still failed with the same error "Error using cat
CAT arguments dimensions are not consistent.".
Thanks