help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xlswrite : create xls with several worksheet


From: Littleboy
Subject: Re: xlswrite : create xls with several worksheet
Date: Thu, 21 Apr 2016 08:34:37 -0700 (PDT)

Hi,

I am trying to create a report with my data from octave.
To do this I use xlswrite, but if someone can advice to try a other way me
he is welcome.

Here is what I do :

pkg load io
pkg load windows

Directory = [pwd '\Report\'];

Sheet1(1,1) = {'Tubes de longueur L ='};
Sheet1(2,1) = {'Nombre d''intervalles N ='};
Sheet1(3,1) = {'Rapport L/N ='};
Sheet1(1,2) = {L};
Sheet1(2,2) = {N};
Sheet1(3,2) = {pas};

Status = xlswrite(Directory, Sheet1, 'NameOfTheSheet');

Great! That works, my file is created.
But first it is never in the directory that I called in the xlswrite.

Second, I try to do the same for a sheet2 with :  but that overwrite
everything and i loose all my first data.
How to do if i want several worksheet in one file.xls?

If someone can help.
Thanks.

Littleboy

Better?





--
View this message in context: 
http://octave.1599824.n4.nabble.com/xlswrite-create-xls-with-several-worksheet-tp4676404p4676415.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]