I need to output a cell to an excel file. Before that, I need to convert the integer date column to datestrings. I know how to do this, but I cannot return this new array of strings to a cell -
mycell = { 'AIR' [780] [1] [734472] [0.01] ; ...
'ABC' [780] [1] [734472] [0.02]}
I did it →
dates = datestr(cell2mat(mycell(:,4))) ;
What I need as an answer:
{'AIR' [780] [1] '14-Dec-2010' [0.01] ;
'ABC' [780] [1] '23-Dec-2010' [0.03] ; }
so now i can send it to excel file using xlswrite.m
Maddy source
share