From: Zia on
Hi,

I am trying to copy data from mat file into excel. The amount of data vary each time depending on the time of simulation. By using xlswrite i am copying the data into excel. My question is, is there any way to clear the content of excel worksheet. Like at fisrt row i have the names. and data from the second row.
For that what i did is, i write the data using xlswrite, and in all the remainig columns it automatically puts #NAN. But when i want to load that file for plotting purpose as explained in video by Doug Hull, it do not take in the colnames as expected. Can anybody explain me how can i overcome this. Is there any way to clear the content of cells?