Obtain empty cells if I import empty cells from excel

Dear all, I am importing a matrix of data (either strings or numbers) as follow:
data_mine=importdata('namefile.xlsx');
In the file there are some empty cells and Matlab imports those as NaN, how could I obtain empty cells? or how could I convert the NaN cells in empty ones?
Thanks a lot
Pinna

Answers (1)

Image Analyst
Image Analyst on 13 Mar 2013
Edited: Image Analyst on 13 Mar 2013
Look at the raw output of xlsread() - that's the third return argument. It's an .xlsx file so you should use xlsread() instead of importdata() anyway, I believe.

Asked:

on 13 Mar 2013

Community Treasure Hunt

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

Start Hunting!