--- "deepa n.k" <> wrote: > I know I can use datenym function to convert > exceldates to matlab dates but,,, I dont know how > to > convert matlabdates to exceldates. > Also is there a way of writing a matrix output into > excel data sheet? > Deepa Hi, The simplest thing is to put the year, month and day in different cells at the exel sheet and make a macro to use the DATE function of exel. To transfer data from Matlab to excel I find it most convenient to use wk1write. If you want to do it while working I find exlserve package most convenient. You can find it at the Mathworks site. It needed some fixes (write to the author or to me if you have problems). If you no how to use activeX command you can even invoke the macro mensioned above from within the exlsetmat function (included in exlserve) by adding few lines. Joe BSTEX - Equation viewer for Matlab http://www.geocities.com/bstex2001 __________________________________________________ |