Matlab xlswrite randomly dropping cells when writing to excel from cell array -


as title says, have cell array of dates trying load excel sheet. have checked ensure size of cell array , range reaching in matlab same size. unfortunately, array 'dates' , range of cells trying edit not same afterwards.

dateslength = sprintf('i3:m%d',matrows); filename = 'edit excel sheet.xlsx'; xlswrite(filename,dates,dateslength); 

it seems random cells being skipped no apparent reason. however, cells skipped cells skipped - don't change, no matter how many times run script. don't show in resulting spreadsheet, in empty. there data in cells before xlswrite tried replace it.


Comments